Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/twbs/bootstrap.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
path: root/scss
diff options
context:
space:
mode:
authorMark Otto <markdotto@gmail.com>2017-04-09 00:17:06 +0300
committerMark Otto <markd.otto@gmail.com>2017-04-09 00:40:11 +0300
commit050aab338b3f6bac15337b79feed0a1c54bdcc6d (patch)
treedf01ab1da03d8b1add6de28f38a2e53cab3153cd /scss
parent2f21403a933336f7cb01c86bf3c650490bc658a6 (diff)
Add dropdown-item-padding-y var
- Closes #21622 which kept the 3px - Puts variable in proper order for shorthand (y x)
Diffstat (limited to 'scss')
-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 7c3ad855be..090fdf1c16 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 be8caa3424..3af5205a42 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;