aboutsummaryrefslogtreecommitdiffhomepage
path: root/client
diff options
context:
space:
mode:
authorRigel Kent <sendmemail@rigelk.eu>2020-01-09 16:54:59 +0100
committerRigel Kent <sendmemail@rigelk.eu>2020-01-09 16:54:59 +0100
commitfc2df421a99e87ad20ca1f758491b6af476efd56 (patch)
treec56da6c906d80ead25f15c0355ad9272d7f6e7e2 /client
parent205ed5b7dcc4ac8b1bc9a02ff2201261c5075633 (diff)
downloadPeerTube-fc2df421a99e87ad20ca1f758491b6af476efd56.tar.gz
PeerTube-fc2df421a99e87ad20ca1f758491b6af476efd56.tar.zst
PeerTube-fc2df421a99e87ad20ca1f758491b6af476efd56.zip
Better placement for help tooltip
Diffstat (limited to 'client')
-rw-r--r--client/src/app/shared/forms/peertube-checkbox.component.ts2
-rw-r--r--client/src/app/shared/misc/help.component.ts2
2 files changed, 2 insertions, 2 deletions
diff --git a/client/src/app/shared/forms/peertube-checkbox.component.ts b/client/src/app/shared/forms/peertube-checkbox.component.ts
index 0303b7e2a..cb7ec8eda 100644
--- a/client/src/app/shared/forms/peertube-checkbox.component.ts
+++ b/client/src/app/shared/forms/peertube-checkbox.component.ts
@@ -19,7 +19,7 @@ export class PeertubeCheckboxComponent implements ControlValueAccessor, AfterCon
19 @Input() inputName: string 19 @Input() inputName: string
20 @Input() labelText: string 20 @Input() labelText: string
21 @Input() labelInnerHTML: string 21 @Input() labelInnerHTML: string
22 @Input() helpPlacement = 'top' 22 @Input() helpPlacement = 'top auto'
23 @Input() disabled = false 23 @Input() disabled = false
24 24
25 @ContentChildren(PeerTubeTemplateDirective) templates: QueryList<PeerTubeTemplateDirective<'label' | 'help'>> 25 @ContentChildren(PeerTubeTemplateDirective) templates: QueryList<PeerTubeTemplateDirective<'label' | 'help'>>
diff --git a/client/src/app/shared/misc/help.component.ts b/client/src/app/shared/misc/help.component.ts
index 18ba8ad5e..e8c199e7d 100644
--- a/client/src/app/shared/misc/help.component.ts
+++ b/client/src/app/shared/misc/help.component.ts
@@ -11,7 +11,7 @@ import { PeerTubeTemplateDirective } from '@app/shared/angular/peertube-template
11 11
12export class HelpComponent implements OnInit, OnChanges, AfterContentInit { 12export class HelpComponent implements OnInit, OnChanges, AfterContentInit {
13 @Input() helpType: 'custom' | 'markdownText' | 'markdownEnhanced' = 'custom' 13 @Input() helpType: 'custom' | 'markdownText' | 'markdownEnhanced' = 'custom'
14 @Input() tooltipPlacement = 'right' 14 @Input() tooltipPlacement = 'right auto'
15 15
16 @ContentChildren(PeerTubeTemplateDirective) templates: QueryList<PeerTubeTemplateDirective<'preHtml' | 'customHtml' | 'postHtml'>> 16 @ContentChildren(PeerTubeTemplateDirective) templates: QueryList<PeerTubeTemplateDirective<'preHtml' | 'customHtml' | 'postHtml'>>
17 17