]> git.immae.eu Git - github/Chocobozzz/PeerTube.git/commitdiff
Add popover autoclose
authorChocobozzz <me@florianbigard.com>
Mon, 27 Aug 2018 09:52:14 +0000 (11:52 +0200)
committerChocobozzz <me@florianbigard.com>
Mon, 27 Aug 2018 09:52:14 +0000 (11:52 +0200)
client/src/app/shared/forms/peertube-checkbox.component.scss
client/src/app/shared/misc/help.component.html
client/src/app/shared/video/video-feed.component.html

index cbc50dc9630998309b0f4bf7f3cac7a3ebf1a206..ee133f1908d589292ab3f4c89050ae5a81dc2fdb 100644 (file)
@@ -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
index 42a92d7f0f6052553fb489aa2866bbd5eba429c7..5b3ddde1d5614196418c784ba52da0cae4015c75 100644 (file)
@@ -20,6 +20,7 @@
   [attr.aria-pressed]="isPopoverOpened"
   [ngbPopover]="tooltipTemplate"
   [placement]="tooltipPlacement"
+  [autoClose]="true"
   (onHidden)="onPopoverHidden()"
   (onShown)="onPopoverShown()"
 ></span>
index 2e687a7b9e993235d476daa84b491dd6a1fda2d0..16116ba88aa15b29046a79806c731c5dbb6aa1a5 100644 (file)
@@ -1,6 +1,6 @@
 <div class="video-feed">
   <span
-    *ngIf="syndicationItems.length !== 0" [ngbPopover]="feedsList" placement="bottom"
+    *ngIf="syndicationItems.length !== 0" [ngbPopover]="feedsList" [autoClose]="true" placement="bottom"
     class="icon icon-syndication" role="button"
   ></span>