Skip to content

Commit

Permalink
Better placement for help tooltip
Browse files Browse the repository at this point in the history
  • Loading branch information
rigelk committed Jan 9, 2020
1 parent 205ed5b commit fc2df42
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion client/src/app/shared/forms/peertube-checkbox.component.ts
Expand Up @@ -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'>>
Expand Down
2 changes: 1 addition & 1 deletion client/src/app/shared/misc/help.component.ts
Expand Up @@ -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'>>

Expand Down

0 comments on commit fc2df42

Please sign in to comment.