From 73114c103aedc9ace4057d91957ff9f3fc60f83b Mon Sep 17 00:00:00 2001 From: Chocobozzz Date: Mon, 20 Jun 2022 11:39:54 +0200 Subject: [PATCH] Fix dropdown z-index --- client/src/sass/include/_variables.scss | 4 ++-- client/src/sass/z-index.scss | 6 +++--- 2 files changed, 5 insertions(+), 5 deletions(-) diff --git a/client/src/sass/include/_variables.scss b/client/src/sass/include/_variables.scss index 3fe1f74a2..2b893a62b 100644 --- a/client/src/sass/include/_variables.scss +++ b/client/src/sass/include/_variables.scss @@ -175,10 +175,10 @@ $zindex: ( popover : 13000, tooltip : 14000, loadbar : 15000, - dropdown : 17000, - help-popover : 17000, privacymsg : 17500, header : 17500, + help-popover : 17600, + dropdown : 17600, modal : 19000, hotkeys : 19000, notification : 20000 diff --git a/client/src/sass/z-index.scss b/client/src/sass/z-index.scss index c2c44b851..d362af0dd 100644 --- a/client/src/sass/z-index.scss +++ b/client/src/sass/z-index.scss @@ -13,9 +13,9 @@ ngx-loading-bar { z-index: z(header) + 1 !important; } -/* rules for dropdowns excepts when in button group, to avoid impacting the dropdown-toggle */ -.dropdown, -.dropup { +// Dropdown added to body, override default z-index +body > .dropdown, +body > .dropup { z-index: z(dropdown) !important; }