From: Rigel Kent Date: Sun, 8 Mar 2020 17:02:14 +0000 (+0100) Subject: Fix admin menu z-index for dropdowns compared to header X-Git-Tag: v2.2.0-rc.1~397 X-Git-Url: https://git.librecmc.org/?a=commitdiff_plain;h=26ede95e5772e52116b8c921fd3daab4d007897e;p=oweals%2Fpeertube.git Fix admin menu z-index for dropdowns compared to header --- diff --git a/client/src/sass/bootstrap.scss b/client/src/sass/bootstrap.scss index 5e0b16bfa..daa4a049f 100644 --- a/client/src/sass/bootstrap.scss +++ b/client/src/sass/bootstrap.scss @@ -28,7 +28,13 @@ $icon-font-path: '~@neos21/bootstrap3-glyphicons/assets/fonts/'; /* rules for dropdowns excepts when in button group, to avoid impacting the dropdown-toggle */ .dropdown:not(.btn-group) { - z-index: z(dropdown) !important; + &:not(.parent-entry) { + z-index: z(dropdown) !important; + } + + &.parent-entry { + z-index: z(header) - 1; + } } .dropdown-menu {