mirror of https://github.com/Chocobozzz/PeerTube
Better placement for help tooltip
parent
205ed5b7dc
commit
fc2df421a9
|
@ -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'>>
|
||||
|
||||
|
|
Loading…
Reference in New Issue