diff options
| author | Mark Otto <[email protected]> | 2017-04-08 14:17:06 -0700 |
|---|---|---|
| committer | Mark Otto <[email protected]> | 2017-04-08 14:40:11 -0700 |
| commit | 050aab338b3f6bac15337b79feed0a1c54bdcc6d (patch) | |
| tree | df01ab1da03d8b1add6de28f38a2e53cab3153cd | |
| parent | 2f21403a933336f7cb01c86bf3c650490bc658a6 (diff) | |
| download | bootstrap-050aab338b3f6bac15337b79feed0a1c54bdcc6d.tar.xz bootstrap-050aab338b3f6bac15337b79feed0a1c54bdcc6d.zip | |
Add dropdown-item-padding-y var
- Closes #21622 which kept the 3px
- Puts variable in proper order for shorthand (y x)
| -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 7c3ad855b..090fdf1c1 100644 --- a/scss/_dropdown.scss +++ b/scss/_dropdown.scss @@ -65,7 +65,7 @@ .dropdown-item { display: block; width: 100%; // For `<button>`s - padding: 3px $dropdown-item-padding-x; + padding: $dropdown-item-padding-y $dropdown-item-padding-x; clear: both; font-weight: $font-weight-normal; color: $dropdown-link-color; diff --git a/scss/_variables.scss b/scss/_variables.scss index be8caa342..3af5205a4 100644 --- a/scss/_variables.scss +++ b/scss/_variables.scss @@ -547,6 +547,7 @@ $dropdown-link-active-bg: $component-active-bg !default; $dropdown-link-disabled-color: $gray-light !default; +$dropdown-item-padding-y: .25rem !default; $dropdown-item-padding-x: 1.5rem !default; $dropdown-header-color: $gray-light !default; |
