mirror of https://github.com/Chocobozzz/PeerTube
Fix playlist element dropdown overflow
parent
2856af48ac
commit
d6eace77db
|
@ -28,7 +28,7 @@
|
|||
.jump-to-suggestions {
|
||||
top: 100%;
|
||||
left: 0;
|
||||
z-index: z(typeahead);
|
||||
z-index: z('search-typeahead');
|
||||
width: 100%;
|
||||
}
|
||||
|
||||
|
|
|
@ -38,7 +38,7 @@
|
|||
|
||||
<my-edit-button *ngIf="owned && touchScreenEditButton" [routerLink]="[ '/my-account', 'video-playlists', playlist.uuid ]"></my-edit-button>
|
||||
|
||||
<div *ngIf="owned" class="more" ngbDropdown #moreDropdown="ngbDropdown" placement="bottom auto"
|
||||
<div *ngIf="owned" class="more" ngbDropdown #moreDropdown="ngbDropdown" placement="left auto"
|
||||
(openChange)="onDropdownOpenChange()" autoClose="outside"
|
||||
>
|
||||
<my-global-icon iconName="more-vertical" ngbDropdownToggle role="button" class="icon-more" (click)="$event.preventDefault()"></my-global-icon>
|
||||
|
|
|
@ -161,7 +161,7 @@ code {
|
|||
|
||||
&.sub-menu-fixed {
|
||||
position: fixed;
|
||||
z-index: #{z('header') - 1};
|
||||
z-index: #{z('sub-menu') - 1};
|
||||
}
|
||||
}
|
||||
|
||||
|
|
|
@ -176,7 +176,7 @@ $icon-font-path: '~@neos21/bootstrap3-glyphicons/assets/fonts/';
|
|||
content: '';
|
||||
display: block;
|
||||
position: fixed;
|
||||
z-index: z('header') - 1;
|
||||
z-index: z('menu') - 1;
|
||||
}
|
||||
}
|
||||
}
|
||||
|
|
|
@ -124,19 +124,20 @@ $variables: (
|
|||
/*** z-index groups ***/
|
||||
|
||||
$zindex: (
|
||||
miniature : 10,
|
||||
privacymsg : 20,
|
||||
typeahead : 30,
|
||||
dropdown : 12000,
|
||||
header : 12500,
|
||||
menu : 12600,
|
||||
popover : 13000,
|
||||
tooltip : 14000,
|
||||
loadbar : 15000,
|
||||
modal : 16000,
|
||||
help-popover : 17000,
|
||||
notification : 18000,
|
||||
hotkeys : 19000
|
||||
miniature : 10,
|
||||
privacymsg : 20,
|
||||
dropdown : 12000,
|
||||
sub-menu : 12500,
|
||||
menu : 12600,
|
||||
search-typeahead: 12650,
|
||||
header : 12700,
|
||||
popover : 13000,
|
||||
tooltip : 14000,
|
||||
loadbar : 15000,
|
||||
modal : 16000,
|
||||
help-popover : 17000,
|
||||
notification : 18000,
|
||||
hotkeys : 19000
|
||||
);
|
||||
|
||||
@function z($label) {
|
||||
|
|
Loading…
Reference in New Issue