Add dropdown-item-padding-y var

- Closes #21622 which kept the 3px
- Puts variable in proper order for shorthand (y x)
This commit is contained in:
Mark Otto 2017-04-08 14:17:06 -07:00 committed by Mark Otto
parent 2f21403a93
commit 050aab338b
2 changed files with 2 additions and 1 deletions

View File

@ -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;

View File

@ -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;