diff options
| author | Giovanni Mendoza <[email protected]> | 2020-02-15 05:06:02 -0600 |
|---|---|---|
| committer | GitHub <[email protected]> | 2020-02-15 12:06:02 +0100 |
| commit | daf0c438f1f982d3e7fc9302f337e8eb21e6bb3d (patch) | |
| tree | 27c3bfa3a7a2dca1849ec7150ec2068b0ad3a78e | |
| parent | 1d8a3a9597e7de89e5510a123b22e06b62377a4d (diff) | |
| download | bootstrap-daf0c438f1f982d3e7fc9302f337e8eb21e6bb3d.tar.xz bootstrap-daf0c438f1f982d3e7fc9302f337e8eb21e6bb3d.zip | |
Added new variable for padding on dropdown header (#29946)
Co-authored-by: XhmikosR <[email protected]>
Co-authored-by: Martijn Cuppens <[email protected]>
| -rw-r--r-- | scss/_dropdown.scss | 2 | ||||
| -rw-r--r-- | scss/_variables.scss | 1 |
2 files changed, 2 insertions, 1 deletions
diff --git a/scss/_dropdown.scss b/scss/_dropdown.scss index 8a7572828..00f0cba6e 100644 --- a/scss/_dropdown.scss +++ b/scss/_dropdown.scss @@ -177,7 +177,7 @@ // Dropdown section headers .dropdown-header { display: block; - padding: $dropdown-padding-y $dropdown-item-padding-x; + padding: $dropdown-header-padding; margin-bottom: 0; // for use with heading elements @include font-size($font-size-sm); color: $dropdown-header-color; diff --git a/scss/_variables.scss b/scss/_variables.scss index 5c24269e2..8c6232837 100644 --- a/scss/_variables.scss +++ b/scss/_variables.scss @@ -913,6 +913,7 @@ $dropdown-item-padding-y: .25rem !default; $dropdown-item-padding-x: 1.5rem !default; $dropdown-header-color: $gray-600 !default; +$dropdown-header-padding: $dropdown-padding-y $dropdown-item-padding-x !default; // Pagination |
