ActivityPub-federated video streaming platform using P2P directly in your web browser
Better placement for help tooltip
Rigel Kentfc2df421a99e
diff --git a/client/src/app/shared/forms/peertube-checkbox.component.ts b/client/src/app/shared/forms/peertube-checkbox.component.tsindex 0303b7e2a4..cb7ec8eda6 100644--- a/client/src/app/shared/forms/peertube-checkbox.component.ts+++ b/client/src/app/shared/forms/peertube-checkbox.component.ts@@ -19,7 +19,7 @@ export class PeertubeCheckboxComponent implements ControlValueAccessor, AfterCon@Input() inputName: string@Input() labelText: string@Input() labelInnerHTML: string- @Input() helpPlacement = 'top'+ @Input() helpPlacement = 'top auto'@Input() disabled = false@ContentChildren(PeerTubeTemplateDirective) templates: QueryList<PeerTubeTemplateDirective<'label' | 'help'>>diff --git a/client/src/app/shared/misc/help.component.ts b/client/src/app/shared/misc/help.component.tsindex 18ba8ad5e9..e8c199e7d1 100644--- a/client/src/app/shared/misc/help.component.ts+++ b/client/src/app/shared/misc/help.component.ts@@ -11,7 +11,7 @@ import { PeerTubeTemplateDirective } from '@app/shared/angular/peertube-templateexport class HelpComponent implements OnInit, OnChanges, AfterContentInit {@Input() helpType: 'custom' | 'markdownText' | 'markdownEnhanced' = 'custom'- @Input() tooltipPlacement = 'right'+ @Input() tooltipPlacement = 'right auto'@ContentChildren(PeerTubeTemplateDirective) templates: QueryList<PeerTubeTemplateDirective<'preHtml' | 'customHtml' | 'postHtml'>>