diff options
| author | Chris Rebert <[email protected]> | 2016-02-16 21:07:24 -0800 |
|---|---|---|
| committer | Chris Rebert <[email protected]> | 2016-02-17 21:07:12 -0800 |
| commit | 1f5621f46e47ad078ce4747d8ab958ee6c7d0073 (patch) | |
| tree | 91865c59883f198d475f01c813c8a4c5f607c174 | |
| parent | 90e19380e8f07982293a2b3c21a3b690d497f305 (diff) | |
| download | bootstrap-1f5621f46e47ad078ce4747d8ab958ee6c7d0073.tar.xz bootstrap-1f5621f46e47ad078ce4747d8ab958ee6c7d0073.zip | |
Extract $dropdown-padding-y variable
[skip sauce]
[skip validator]
| -rw-r--r-- | scss/_dropdown.scss | 4 | ||||
| -rw-r--r-- | scss/_variables.scss | 1 |
2 files changed, 3 insertions, 2 deletions
diff --git a/scss/_dropdown.scss b/scss/_dropdown.scss index d642d7389..47fc204f3 100644 --- a/scss/_dropdown.scss +++ b/scss/_dropdown.scss @@ -43,7 +43,7 @@ display: none; // none by default, but block on "open" of the menu float: left; min-width: $dropdown-min-width; - padding: 5px 0; + padding: $dropdown-padding-y 0; margin: $dropdown-margin-top 0 0; // override default ul font-size: $font-size-base; color: $body-color; @@ -141,7 +141,7 @@ // Dropdown section headers .dropdown-header { display: block; - padding: 5px $dropdown-item-padding-x; + padding: $dropdown-padding-y $dropdown-item-padding-x; font-size: $font-size-sm; color: $dropdown-header-color; white-space: nowrap; // as with > li > a diff --git a/scss/_variables.scss b/scss/_variables.scss index fca83c6f4..92469904a 100644 --- a/scss/_variables.scss +++ b/scss/_variables.scss @@ -431,6 +431,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-padding-y: 5px !default; $dropdown-margin-top: 2px !default; $dropdown-bg: #fff !default; $dropdown-border-color: rgba(0,0,0,.15) !default; |
