Better placement for help tooltip

pull/2400/head
Rigel Kent 2020-01-09 16:54:59 +01:00
parent 205ed5b7dc
commit fc2df421a9
No known key found for this signature in database
GPG Key ID: 5E53E96A494E452F
2 changed files with 2 additions and 2 deletions

View File

@ -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'>>

View File

@ -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'>>