diff options
author | Rigel Kent <sendmemail@rigelk.eu> | 2020-03-08 18:02:14 +0100 |
---|---|---|
committer | Rigel Kent <sendmemail@rigelk.eu> | 2020-03-08 18:02:14 +0100 |
commit | 26ede95e5772e52116b8c921fd3daab4d007897e (patch) | |
tree | 9671b06ac557462a08e38465a60ea268d29dbe0f | |
parent | 758f0d19f227bf2f33544040120023b8dd4d095f (diff) | |
download | PeerTube-26ede95e5772e52116b8c921fd3daab4d007897e.tar.gz PeerTube-26ede95e5772e52116b8c921fd3daab4d007897e.tar.zst PeerTube-26ede95e5772e52116b8c921fd3daab4d007897e.zip |
Fix admin menu z-index for dropdowns compared to header
-rw-r--r-- | client/src/sass/bootstrap.scss | 8 |
1 files changed, 7 insertions, 1 deletions
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/'; | |||
28 | 28 | ||
29 | /* rules for dropdowns excepts when in button group, to avoid impacting the dropdown-toggle */ | 29 | /* rules for dropdowns excepts when in button group, to avoid impacting the dropdown-toggle */ |
30 | .dropdown:not(.btn-group) { | 30 | .dropdown:not(.btn-group) { |
31 | z-index: z(dropdown) !important; | 31 | &:not(.parent-entry) { |
32 | z-index: z(dropdown) !important; | ||
33 | } | ||
34 | |||
35 | &.parent-entry { | ||
36 | z-index: z(header) - 1; | ||
37 | } | ||
32 | } | 38 | } |
33 | 39 | ||
34 | .dropdown-menu { | 40 | .dropdown-menu { |