0
0
mirror of https://github.com/twbs/bootstrap.git synced 2024-11-29 11:24:18 +01:00

Use proper variable for .dropdown-backdrop's z-index

This commit is contained in:
Chris Rebert 2016-01-13 16:21:52 -08:00
parent 5e9b365b25
commit 27a7fff0fb
2 changed files with 2 additions and 1 deletions

View File

@ -161,7 +161,7 @@
right: 0; right: 0;
bottom: 0; bottom: 0;
left: 0; left: 0;
z-index: ($zindex-dropdown - 10); z-index: $zindex-dropdown-backdrop;
} }
// Right aligned dropdowns // Right aligned dropdowns

View File

@ -359,6 +359,7 @@ $dropdown-header-color: $gray-light !default;
// Warning: Avoid customizing these values. They're used for a bird's eye view // Warning: Avoid customizing these values. They're used for a bird's eye view
// of components dependent on the z-axis and are designed to all work together. // of components dependent on the z-axis and are designed to all work together.
$zindex-dropdown-backdrop: 990 !default;
$zindex-navbar: 1000 !default; $zindex-navbar: 1000 !default;
$zindex-dropdown: 1000 !default; $zindex-dropdown: 1000 !default;
$zindex-popover: 1060 !default; $zindex-popover: 1060 !default;