aboutsummaryrefslogtreecommitdiffhomepage
path: root/client
diff options
context:
space:
mode:
authorChocobozzz <me@florianbigard.com>2018-08-27 11:52:14 +0200
committerChocobozzz <me@florianbigard.com>2018-08-27 11:52:14 +0200
commit0bd84f8bdebeaba9623bce0e389e56bf0906a537 (patch)
tree5c5a7ea2af8c348b095decf9f74d693adba21bde /client
parent52831c6fef9425b96cc3f3049fbaf2e93236344e (diff)
downloadPeerTube-0bd84f8bdebeaba9623bce0e389e56bf0906a537.tar.gz
PeerTube-0bd84f8bdebeaba9623bce0e389e56bf0906a537.tar.zst
PeerTube-0bd84f8bdebeaba9623bce0e389e56bf0906a537.zip
Add popover autoclose
Diffstat (limited to 'client')
-rw-r--r--client/src/app/shared/forms/peertube-checkbox.component.scss6
-rw-r--r--client/src/app/shared/misc/help.component.html1
-rw-r--r--client/src/app/shared/video/video-feed.component.html2
3 files changed, 7 insertions, 2 deletions
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 @@
3 3
4.form-group { 4.form-group {
5 display: flex; 5 display: flex;
6 align-items: center;
7 6
8 .form-group-checkbox { 7 .form-group-checkbox {
9 display: flex; 8 display: flex;
@@ -20,4 +19,9 @@
20 margin-right: 10px; 19 margin-right: 10px;
21 } 20 }
22 } 21 }
22
23 my-help {
24 position: relative;
25 top: -2px;
26 }
23} \ No newline at end of file 27} \ 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 @@
20 [attr.aria-pressed]="isPopoverOpened" 20 [attr.aria-pressed]="isPopoverOpened"
21 [ngbPopover]="tooltipTemplate" 21 [ngbPopover]="tooltipTemplate"
22 [placement]="tooltipPlacement" 22 [placement]="tooltipPlacement"
23 [autoClose]="true"
23 (onHidden)="onPopoverHidden()" 24 (onHidden)="onPopoverHidden()"
24 (onShown)="onPopoverShown()" 25 (onShown)="onPopoverShown()"
25></span> 26></span>
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 @@
1<div class="video-feed"> 1<div class="video-feed">
2 <span 2 <span
3 *ngIf="syndicationItems.length !== 0" [ngbPopover]="feedsList" placement="bottom" 3 *ngIf="syndicationItems.length !== 0" [ngbPopover]="feedsList" [autoClose]="true" placement="bottom"
4 class="icon icon-syndication" role="button" 4 class="icon icon-syndication" role="button"
5 ></span> 5 ></span>
6 6