Fix admin menu z-index for dropdowns compared to header
authorRigel Kent <sendmemail@rigelk.eu>
Sun, 8 Mar 2020 17:02:14 +0000 (18:02 +0100)
committerRigel Kent <sendmemail@rigelk.eu>
Sun, 8 Mar 2020 17:02:14 +0000 (18:02 +0100)
client/src/sass/bootstrap.scss

index 5e0b16bfa919db782c476d0ab37979b1b76c9273..daa4a049f82a55028a7faeb82fc288d856ba9763 100644 (file)
@@ -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 {