Commit 050aab33 authored by Mark Otto's avatar Mark Otto Committed by Mark Otto
Browse files

Add dropdown-item-padding-y var

- Closes #21622 which kept the 3px
- Puts variable in proper order for shorthand (y x)
parent 2f21403a
Showing with 2 additions and 1 deletion
+2 -1
...@@ -65,7 +65,7 @@ ...@@ -65,7 +65,7 @@
.dropdown-item { .dropdown-item {
display: block; display: block;
width: 100%; // For `<button>`s width: 100%; // For `<button>`s
padding: 3px $dropdown-item-padding-x; padding: $dropdown-item-padding-y $dropdown-item-padding-x;
clear: both; clear: both;
font-weight: $font-weight-normal; font-weight: $font-weight-normal;
color: $dropdown-link-color; color: $dropdown-link-color;
......
...@@ -547,6 +547,7 @@ $dropdown-link-active-bg: $component-active-bg !default; ...@@ -547,6 +547,7 @@ $dropdown-link-active-bg: $component-active-bg !default;
$dropdown-link-disabled-color: $gray-light !default; $dropdown-link-disabled-color: $gray-light !default;
$dropdown-item-padding-y: .25rem !default;
$dropdown-item-padding-x: 1.5rem !default; $dropdown-item-padding-x: 1.5rem !default;
$dropdown-header-color: $gray-light !default; $dropdown-header-color: $gray-light !default;
......
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment