diff options
author | Chocobozzz <me@florianbigard.com> | 2020-08-19 11:35:01 +0200 |
---|---|---|
committer | Chocobozzz <chocobozzz@cpy.re> | 2020-08-25 14:42:16 +0200 |
commit | d6eace77dbc6ddde958ea1e38286fd68a0398768 (patch) | |
tree | a45a2c076e40a0491c353e6ea88ed8c38f11b5b2 /client/src/sass | |
parent | 2856af48ac79d614c79ed9e962d70564afbec1e1 (diff) | |
download | PeerTube-d6eace77dbc6ddde958ea1e38286fd68a0398768.tar.gz PeerTube-d6eace77dbc6ddde958ea1e38286fd68a0398768.tar.zst PeerTube-d6eace77dbc6ddde958ea1e38286fd68a0398768.zip |
Fix playlist element dropdown overflow
Diffstat (limited to 'client/src/sass')
-rw-r--r-- | client/src/sass/application.scss | 2 | ||||
-rw-r--r-- | client/src/sass/bootstrap.scss | 2 | ||||
-rw-r--r-- | client/src/sass/include/_variables.scss | 27 |
3 files changed, 16 insertions, 15 deletions
diff --git a/client/src/sass/application.scss b/client/src/sass/application.scss index 3be8f057b..351676a38 100644 --- a/client/src/sass/application.scss +++ b/client/src/sass/application.scss | |||
@@ -161,7 +161,7 @@ code { | |||
161 | 161 | ||
162 | &.sub-menu-fixed { | 162 | &.sub-menu-fixed { |
163 | position: fixed; | 163 | position: fixed; |
164 | z-index: #{z('header') - 1}; | 164 | z-index: #{z('sub-menu') - 1}; |
165 | } | 165 | } |
166 | } | 166 | } |
167 | 167 | ||
diff --git a/client/src/sass/bootstrap.scss b/client/src/sass/bootstrap.scss index 58256a065..259af7a77 100644 --- a/client/src/sass/bootstrap.scss +++ b/client/src/sass/bootstrap.scss | |||
@@ -176,7 +176,7 @@ $icon-font-path: '~@neos21/bootstrap3-glyphicons/assets/fonts/'; | |||
176 | content: ''; | 176 | content: ''; |
177 | display: block; | 177 | display: block; |
178 | position: fixed; | 178 | position: fixed; |
179 | z-index: z('header') - 1; | 179 | z-index: z('menu') - 1; |
180 | } | 180 | } |
181 | } | 181 | } |
182 | } | 182 | } |
diff --git a/client/src/sass/include/_variables.scss b/client/src/sass/include/_variables.scss index a7ad0f643..565f9b512 100644 --- a/client/src/sass/include/_variables.scss +++ b/client/src/sass/include/_variables.scss | |||
@@ -124,19 +124,20 @@ $variables: ( | |||
124 | /*** z-index groups ***/ | 124 | /*** z-index groups ***/ |
125 | 125 | ||
126 | $zindex: ( | 126 | $zindex: ( |
127 | miniature : 10, | 127 | miniature : 10, |
128 | privacymsg : 20, | 128 | privacymsg : 20, |
129 | typeahead : 30, | 129 | dropdown : 12000, |
130 | dropdown : 12000, | 130 | sub-menu : 12500, |
131 | header : 12500, | 131 | menu : 12600, |
132 | menu : 12600, | 132 | search-typeahead: 12650, |
133 | popover : 13000, | 133 | header : 12700, |
134 | tooltip : 14000, | 134 | popover : 13000, |
135 | loadbar : 15000, | 135 | tooltip : 14000, |
136 | modal : 16000, | 136 | loadbar : 15000, |
137 | help-popover : 17000, | 137 | modal : 16000, |
138 | notification : 18000, | 138 | help-popover : 17000, |
139 | hotkeys : 19000 | 139 | notification : 18000, |
140 | hotkeys : 19000 | ||
140 | ); | 141 | ); |
141 | 142 | ||
142 | @function z($label) { | 143 | @function z($label) { |