diff options
| -rw-r--r-- | scss/_dropdown.scss | 4 | ||||
| -rw-r--r-- | scss/_variables.scss | 2 |
2 files changed, 4 insertions, 2 deletions
diff --git a/scss/_dropdown.scss b/scss/_dropdown.scss index 07ae2f1f6..7aff06095 100644 --- a/scss/_dropdown.scss +++ b/scss/_dropdown.scss @@ -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 diff --git a/scss/_variables.scss b/scss/_variables.scss index 6352b602b..c02af45f5 100644 --- a/scss/_variables.scss +++ b/scss/_variables.scss @@ -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; |
