From 8e8eb2614b4e6be90ea5cf2f7347f1eb40f28932 Mon Sep 17 00:00:00 2001 From: Chocobozzz Date: Mon, 29 Jul 2019 16:41:25 +0200 Subject: Fix help transcoding placement --- client/src/app/shared/forms/peertube-checkbox.component.html | 2 +- client/src/app/shared/forms/peertube-checkbox.component.ts | 1 + client/src/app/videos/+video-edit/shared/video-edit.component.html | 2 ++ 3 files changed, 4 insertions(+), 1 deletion(-) (limited to 'client/src/app') diff --git a/client/src/app/shared/forms/peertube-checkbox.component.html b/client/src/app/shared/forms/peertube-checkbox.component.html index 7b8bcf601..571a1a673 100644 --- a/client/src/app/shared/forms/peertube-checkbox.component.html +++ b/client/src/app/shared/forms/peertube-checkbox.component.html @@ -6,5 +6,5 @@ - + diff --git a/client/src/app/shared/forms/peertube-checkbox.component.ts b/client/src/app/shared/forms/peertube-checkbox.component.ts index 9578f5618..a4b72aa37 100644 --- a/client/src/app/shared/forms/peertube-checkbox.component.ts +++ b/client/src/app/shared/forms/peertube-checkbox.component.ts @@ -19,6 +19,7 @@ export class PeertubeCheckboxComponent implements ControlValueAccessor { @Input() labelText: string @Input() labelHtml: string @Input() helpHtml: string + @Input() helpPlacement = 'top' @Input() disabled = false // FIXME: https://github.com/angular/angular/issues/10816#issuecomment-307567836 diff --git a/client/src/app/videos/+video-edit/shared/video-edit.component.html b/client/src/app/videos/+video-edit/shared/video-edit.component.html index 28572d611..217cadc66 100644 --- a/client/src/app/videos/+video-edit/shared/video-edit.component.html +++ b/client/src/app/videos/+video-edit/shared/video-edit.component.html @@ -118,6 +118,7 @@ inputName="nsfw" formControlName="nsfw" i18n-labelText labelText="This video contains mature or explicit content" i18n-helpHtml helpHtml="Some instances do not list videos containing mature or explicit content by default." + helpPlacement="bottom-right" > -- cgit v1.2.3