From: Chocobozzz Date: Mon, 27 Aug 2018 09:52:14 +0000 (+0200) Subject: Add popover autoclose X-Git-Tag: v1.0.0-beta.12~99 X-Git-Url: https://git.immae.eu/?a=commitdiff_plain;h=0bd84f8bdebeaba9623bce0e389e56bf0906a537;p=github%2FChocobozzz%2FPeerTube.git Add popover autoclose --- diff --git a/client/src/app/shared/forms/peertube-checkbox.component.scss b/client/src/app/shared/forms/peertube-checkbox.component.scss index cbc50dc96..ee133f190 100644 --- a/client/src/app/shared/forms/peertube-checkbox.component.scss +++ b/client/src/app/shared/forms/peertube-checkbox.component.scss @@ -3,7 +3,6 @@ .form-group { display: flex; - align-items: center; .form-group-checkbox { display: flex; @@ -20,4 +19,9 @@ margin-right: 10px; } } + + my-help { + position: relative; + top: -2px; + } } \ No newline at end of file diff --git a/client/src/app/shared/misc/help.component.html b/client/src/app/shared/misc/help.component.html index 42a92d7f0..5b3ddde1d 100644 --- a/client/src/app/shared/misc/help.component.html +++ b/client/src/app/shared/misc/help.component.html @@ -20,6 +20,7 @@ [attr.aria-pressed]="isPopoverOpened" [ngbPopover]="tooltipTemplate" [placement]="tooltipPlacement" + [autoClose]="true" (onHidden)="onPopoverHidden()" (onShown)="onPopoverShown()" > diff --git a/client/src/app/shared/video/video-feed.component.html b/client/src/app/shared/video/video-feed.component.html index 2e687a7b9..16116ba88 100644 --- a/client/src/app/shared/video/video-feed.component.html +++ b/client/src/app/shared/video/video-feed.component.html @@ -1,6 +1,6 @@