Skip to content

Commit

Permalink
Added new variable for padding on dropdown header (#29946)
Browse files Browse the repository at this point in the history
Co-authored-by: XhmikosR <xhmikosr@gmail.com>
Co-authored-by: Martijn Cuppens <martijn.cuppens@gmail.com>
  • Loading branch information
3 people committed Feb 17, 2020
1 parent e0feefc commit 89da4c0
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 1 deletion.
2 changes: 1 addition & 1 deletion scss/_dropdown.scss
Expand Up @@ -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;
Expand Down
1 change: 1 addition & 0 deletions scss/_variables.scss
Expand Up @@ -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
Expand Down

0 comments on commit 89da4c0

Please sign in to comment.