diff options
author | Chocobozzz <me@florianbigard.com> | 2022-06-20 11:39:54 +0200 |
---|---|---|
committer | Chocobozzz <me@florianbigard.com> | 2022-06-20 11:39:54 +0200 |
commit | 73114c103aedc9ace4057d91957ff9f3fc60f83b (patch) | |
tree | fffcdafa826bb62c395f4475fa7e7c67ad73c281 | |
parent | d34012602be2b27d8f58ef97eb0b1e7e846064f3 (diff) | |
download | PeerTube-73114c103aedc9ace4057d91957ff9f3fc60f83b.tar.gz PeerTube-73114c103aedc9ace4057d91957ff9f3fc60f83b.tar.zst PeerTube-73114c103aedc9ace4057d91957ff9f3fc60f83b.zip |
Fix dropdown z-index
-rw-r--r-- | client/src/sass/include/_variables.scss | 4 | ||||
-rw-r--r-- | 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: ( | |||
175 | popover : 13000, | 175 | popover : 13000, |
176 | tooltip : 14000, | 176 | tooltip : 14000, |
177 | loadbar : 15000, | 177 | loadbar : 15000, |
178 | dropdown : 17000, | ||
179 | help-popover : 17000, | ||
180 | privacymsg : 17500, | 178 | privacymsg : 17500, |
181 | header : 17500, | 179 | header : 17500, |
180 | help-popover : 17600, | ||
181 | dropdown : 17600, | ||
182 | modal : 19000, | 182 | modal : 19000, |
183 | hotkeys : 19000, | 183 | hotkeys : 19000, |
184 | notification : 20000 | 184 | 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 { | |||
13 | z-index: z(header) + 1 !important; | 13 | z-index: z(header) + 1 !important; |
14 | } | 14 | } |
15 | 15 | ||
16 | /* rules for dropdowns excepts when in button group, to avoid impacting the dropdown-toggle */ | 16 | // Dropdown added to body, override default z-index |
17 | .dropdown, | 17 | body > .dropdown, |
18 | .dropup { | 18 | body > .dropup { |
19 | z-index: z(dropdown) !important; | 19 | z-index: z(dropdown) !important; |
20 | } | 20 | } |
21 | 21 | ||