1
0
Fork 0

Better placement for help tooltip

This commit is contained in:
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() inputName: string
@Input() labelText: string @Input() labelText: string
@Input() labelInnerHTML: string @Input() labelInnerHTML: string
@Input() helpPlacement = 'top' @Input() helpPlacement = 'top auto'
@Input() disabled = false @Input() disabled = false
@ContentChildren(PeerTubeTemplateDirective) templates: QueryList<PeerTubeTemplateDirective<'label' | 'help'>> @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 { export class HelpComponent implements OnInit, OnChanges, AfterContentInit {
@Input() helpType: 'custom' | 'markdownText' | 'markdownEnhanced' = 'custom' @Input() helpType: 'custom' | 'markdownText' | 'markdownEnhanced' = 'custom'
@Input() tooltipPlacement = 'right' @Input() tooltipPlacement = 'right auto'
@ContentChildren(PeerTubeTemplateDirective) templates: QueryList<PeerTubeTemplateDirective<'preHtml' | 'customHtml' | 'postHtml'>> @ContentChildren(PeerTubeTemplateDirective) templates: QueryList<PeerTubeTemplateDirective<'preHtml' | 'customHtml' | 'postHtml'>>