0
0
mirror of https://github.com/twbs/bootstrap.git synced 2024-12-01 13:24:25 +01:00

Extract $dropdown-item-padding-x variable

[skip sauce]
[skip validator]
This commit is contained in:
Chris Rebert 2016-02-16 21:16:55 -08:00
parent ee0b3b2faa
commit 1046e27dd3
2 changed files with 4 additions and 2 deletions

View File

@ -67,7 +67,7 @@
.dropdown-item {
display: block;
width: 100%; // For `<button>`s
padding: 3px 20px;
padding: 3px $dropdown-item-padding-x;
clear: both;
font-weight: normal;
color: $dropdown-link-color;
@ -141,7 +141,7 @@
// Dropdown section headers
.dropdown-header {
display: block;
padding: 5px 20px;
padding: 5px $dropdown-item-padding-x;
font-size: $font-size-sm;
color: $dropdown-header-color;
white-space: nowrap; // as with > li > a

View File

@ -446,6 +446,8 @@ $dropdown-link-active-bg: $component-active-bg !default;
$dropdown-link-disabled-color: $gray-light !default;
$dropdown-item-padding-x: 20px !default;
$dropdown-header-color: $gray-light !default;