mirror of
https://github.com/Chocobozzz/PeerTube.git
synced 2025-02-25 18:55:32 -06:00
Better placement for help tooltip
This commit is contained in:
@@ -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'>>
|
||||
|
||||
@@ -11,7 +11,7 @@ import { PeerTubeTemplateDirective } from '@app/shared/angular/peertube-template
|
||||
|
||||
export 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'>>
|
||||
|
||||
|
||||
Reference in New Issue
Block a user