diff options
author | Chocobozzz <me@florianbigard.com> | 2022-07-18 15:01:47 +0200 |
---|---|---|
committer | Chocobozzz <me@florianbigard.com> | 2022-07-18 15:01:47 +0200 |
commit | ace01da3480e0de943cb028f9541790e0a015eb4 (patch) | |
tree | bcbbcf41c890a20fa6bb8115df09cf1f370b5a67 /client/src/sass | |
parent | 58c44687f748a3ea5feafe6335fe962aea8186bd (diff) | |
download | PeerTube-ace01da3480e0de943cb028f9541790e0a015eb4.tar.gz PeerTube-ace01da3480e0de943cb028f9541790e0a015eb4.tar.zst PeerTube-ace01da3480e0de943cb028f9541790e0a015eb4.zip |
Fix z-index with custom homepage
Diffstat (limited to 'client/src/sass')
-rw-r--r-- | client/src/sass/include/_variables.scss | 2 | ||||
-rw-r--r-- | client/src/sass/z-index.scss | 6 |
2 files changed, 4 insertions, 4 deletions
diff --git a/client/src/sass/include/_variables.scss b/client/src/sass/include/_variables.scss index 225cad9c2..c02359f28 100644 --- a/client/src/sass/include/_variables.scss +++ b/client/src/sass/include/_variables.scss | |||
@@ -176,7 +176,7 @@ $zindex: ( | |||
176 | tooltip : 14000, | 176 | tooltip : 14000, |
177 | loadbar : 15000, | 177 | loadbar : 15000, |
178 | privacymsg : 17500, | 178 | privacymsg : 17500, |
179 | header : 17500, | 179 | root-header : 17500, |
180 | help-popover : 17600, | 180 | help-popover : 17600, |
181 | dropdown : 17600, | 181 | dropdown : 17600, |
182 | modal : 19000, | 182 | modal : 19000, |
diff --git a/client/src/sass/z-index.scss b/client/src/sass/z-index.scss index d362af0dd..f8b0e1cc0 100644 --- a/client/src/sass/z-index.scss +++ b/client/src/sass/z-index.scss | |||
@@ -1,8 +1,8 @@ | |||
1 | @use '_variables' as *; | 1 | @use '_variables' as *; |
2 | @use '_mixins' as *; | 2 | @use '_mixins' as *; |
3 | 3 | ||
4 | .header { | 4 | .root-header { |
5 | z-index: z(header); | 5 | z-index: z(root-header); |
6 | } | 6 | } |
7 | 7 | ||
8 | .help-popover { | 8 | .help-popover { |
@@ -10,7 +10,7 @@ | |||
10 | } | 10 | } |
11 | 11 | ||
12 | ngx-loading-bar { | 12 | ngx-loading-bar { |
13 | z-index: z(header) + 1 !important; | 13 | z-index: z(root-header) + 1 !important; |
14 | } | 14 | } |
15 | 15 | ||
16 | // Dropdown added to body, override default z-index | 16 | // Dropdown added to body, override default z-index |