diff options
author | Giovanni Mendoza <mendozagioo@gmail.com> | 2020-02-15 14:06:02 +0300 |
---|---|---|
committer | XhmikosR <xhmikosr@gmail.com> | 2020-02-17 22:33:54 +0300 |
commit | 0bd57ce212e3a79e7aa9fee6da6475a565a824fb (patch) | |
tree | d8694979ccd303cc5c7f4d8658e8f851779b7cbf /scss | |
parent | 8c4b61e30c3fcd01f821f64532571b1a8361158f (diff) |
Added new variable for padding on dropdown header (#29946)
Co-authored-by: XhmikosR <xhmikosr@gmail.com>
Co-authored-by: Martijn Cuppens <martijn.cuppens@gmail.com>
Diffstat (limited to 'scss')
-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 76f33a4fd8..bf458ecf74 100644 --- a/scss/_dropdown.scss +++ b/scss/_dropdown.scss @@ -176,7 +176,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 a85f43ceba..2fdf9eeb64 100644 --- a/scss/_variables.scss +++ b/scss/_variables.scss @@ -788,6 +788,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 |