aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorChris Rebert <[email protected]>2016-02-16 00:47:29 -0800
committerChris Rebert <[email protected]>2016-02-16 00:47:29 -0800
commitaf68bc2c7312712fa6df9acc4fb5655168b55db8 (patch)
treeadcbbb7b99a0286b5a966fabfe18d15859c8d436
parent5f455319e206dc4f29249d34f5592037a179cf87 (diff)
parent4c6946b3a9bad22f15447460b9cf35fffad605d0 (diff)
downloadbootstrap-af68bc2c7312712fa6df9acc4fb5655168b55db8.tar.xz
bootstrap-af68bc2c7312712fa6df9acc4fb5655168b55db8.zip
Merge pull request #19216 from twbs/dropdown-min-width
Extract $dropdown-min-width variable
-rw-r--r--scss/_dropdown.scss2
-rw-r--r--scss/_variables.scss1
2 files changed, 2 insertions, 1 deletions
diff --git a/scss/_dropdown.scss b/scss/_dropdown.scss
index e76a56bca..07ae2f1f6 100644
--- a/scss/_dropdown.scss
+++ b/scss/_dropdown.scss
@@ -42,7 +42,7 @@
z-index: $zindex-dropdown;
display: none; // none by default, but block on "open" of the menu
float: left;
- min-width: 160px;
+ min-width: $dropdown-min-width;
padding: 5px 0;
margin: 2px 0 0; // override default ul
font-size: $font-size-base;
diff --git a/scss/_variables.scss b/scss/_variables.scss
index 5c92cb21d..4fbe3f0e8 100644
--- a/scss/_variables.scss
+++ b/scss/_variables.scss
@@ -426,6 +426,7 @@ $form-icon-danger: url("data:image/svg+xml;charset=utf8,%3Csvg xmlns='http://www
//
// Dropdown menu container and contents.
+$dropdown-min-width: 160px !default;
$dropdown-bg: #fff !default;
$dropdown-border-color: rgba(0,0,0,.15) !default;
$dropdown-border-width: $border-width !default;