diff options
| author | Mark Otto <[email protected]> | 2016-01-17 15:25:58 -0800 |
|---|---|---|
| committer | Mark Otto <[email protected]> | 2016-01-17 15:25:58 -0800 |
| commit | 3a2f0456bf2d2835b624397bcb9cb03d68390a79 (patch) | |
| tree | 682e3cd14c3cbf5eed4c5da2814e747400778682 | |
| parent | fb14ee70d07647cd37436b996f6273be0e8ac140 (diff) | |
| parent | 27a7fff0fb325cfa9a272c34f1cdf4ea02847060 (diff) | |
| download | bootstrap-3a2f0456bf2d2835b624397bcb9cb03d68390a79.tar.xz bootstrap-3a2f0456bf2d2835b624397bcb9cb03d68390a79.zip | |
Merge pull request #18883 from twbs/zindex-dropdown-backdrop
Use proper variable for .dropdown-backdrop's z-index
| -rw-r--r-- | scss/_dropdown.scss | 2 | ||||
| -rw-r--r-- | scss/_variables.scss | 1 |
2 files changed, 2 insertions, 1 deletions
diff --git a/scss/_dropdown.scss b/scss/_dropdown.scss index 6c50c94fb..cf4472acd 100644 --- a/scss/_dropdown.scss +++ b/scss/_dropdown.scss @@ -161,7 +161,7 @@ right: 0; bottom: 0; left: 0; - z-index: ($zindex-dropdown - 10); + z-index: $zindex-dropdown-backdrop; } // Right aligned dropdowns diff --git a/scss/_variables.scss b/scss/_variables.scss index 62515deaa..29fd7044e 100644 --- a/scss/_variables.scss +++ b/scss/_variables.scss @@ -362,6 +362,7 @@ $dropdown-header-color: $gray-light !default; // 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. +$zindex-dropdown-backdrop: 990 !default; $zindex-navbar: 1000 !default; $zindex-dropdown: 1000 !default; $zindex-popover: 1060 !default; |
