aboutsummaryrefslogtreecommitdiffhomepage
path: root/client/src/sass/bootstrap.scss
diff options
context:
space:
mode:
authorChocobozzz <me@florianbigard.com>2020-08-19 11:33:20 +0200
committerChocobozzz <chocobozzz@cpy.re>2020-08-25 14:42:16 +0200
commit2856af48ac79d614c79ed9e962d70564afbec1e1 (patch)
treeee4759a3457f2d30835d5b07e0309b9aba9437d9 /client/src/sass/bootstrap.scss
parentb405d663b4fcda051fe928f73b161b7040303b63 (diff)
downloadPeerTube-2856af48ac79d614c79ed9e962d70564afbec1e1.tar.gz
PeerTube-2856af48ac79d614c79ed9e962d70564afbec1e1.tar.zst
PeerTube-2856af48ac79d614c79ed9e962d70564afbec1e1.zip
Fix z-index dropdown icon
Was on top of the header
Diffstat (limited to 'client/src/sass/bootstrap.scss')
-rw-r--r--client/src/sass/bootstrap.scss19
1 files changed, 14 insertions, 5 deletions
diff --git a/client/src/sass/bootstrap.scss b/client/src/sass/bootstrap.scss
index a3b60198c..58256a065 100644
--- a/client/src/sass/bootstrap.scss
+++ b/client/src/sass/bootstrap.scss
@@ -27,15 +27,24 @@ $icon-font-path: '~@neos21/bootstrap3-glyphicons/assets/fonts/';
27} 27}
28 28
29/* rules for dropdowns excepts when in button group, to avoid impacting the dropdown-toggle */ 29/* rules for dropdowns excepts when in button group, to avoid impacting the dropdown-toggle */
30.dropdown:not(.btn-group):not(.dropdown-root):not(.action-dropdown):not(.input-group-prepend):not(.column-toggle) { 30.dropdown {
31 z-index: z(dropdown) !important; 31 z-index: z(dropdown) !important;
32}
32 33
33 &.list-overflow-menu, 34.list-overflow-menu,
34 &.parent-entry { 35.parent-entry {
35 z-index: z(header) - 1 !important; 36 z-index: z(header) - 1 !important;
36 }
37} 37}
38 38
39.btn-group,
40.dropdown-root,
41.action-dropdown,
42.input-group-prepend,
43.column-toggle {
44 z-index: inherit !important;
45}
46
47
39.dropdown-menu { 48.dropdown-menu {
40 z-index: z(dropdown) + 1 !important; 49 z-index: z(dropdown) + 1 !important;
41 50