mirror of https://github.com/Chocobozzz/PeerTube
Add popover autoclose
parent
52831c6fef
commit
0bd84f8bde
|
@ -3,7 +3,6 @@
|
||||||
|
|
||||||
.form-group {
|
.form-group {
|
||||||
display: flex;
|
display: flex;
|
||||||
align-items: center;
|
|
||||||
|
|
||||||
.form-group-checkbox {
|
.form-group-checkbox {
|
||||||
display: flex;
|
display: flex;
|
||||||
|
@ -20,4 +19,9 @@
|
||||||
margin-right: 10px;
|
margin-right: 10px;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
my-help {
|
||||||
|
position: relative;
|
||||||
|
top: -2px;
|
||||||
|
}
|
||||||
}
|
}
|
|
@ -20,6 +20,7 @@
|
||||||
[attr.aria-pressed]="isPopoverOpened"
|
[attr.aria-pressed]="isPopoverOpened"
|
||||||
[ngbPopover]="tooltipTemplate"
|
[ngbPopover]="tooltipTemplate"
|
||||||
[placement]="tooltipPlacement"
|
[placement]="tooltipPlacement"
|
||||||
|
[autoClose]="true"
|
||||||
(onHidden)="onPopoverHidden()"
|
(onHidden)="onPopoverHidden()"
|
||||||
(onShown)="onPopoverShown()"
|
(onShown)="onPopoverShown()"
|
||||||
></span>
|
></span>
|
||||||
|
|
|
@ -1,6 +1,6 @@
|
||||||
<div class="video-feed">
|
<div class="video-feed">
|
||||||
<span
|
<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"
|
class="icon icon-syndication" role="button"
|
||||||
></span>
|
></span>
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue