Better placement for help tooltip
This commit is contained in:
parent
205ed5b7dc
commit
fc2df421a9
2 changed files with 2 additions and 2 deletions
|
@ -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'>>
|
||||||
|
|
|
@ -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'>>
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue