Skip to content

Commit

Permalink
Added new variable for padding on dropdown header (twbs#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 authored and olsza committed Oct 3, 2020
1 parent 8778f09 commit 2af33b4
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 @@ -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;
Expand Down
1 change: 1 addition & 0 deletions scss/_variables.scss
Expand Up @@ -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
Expand Down

0 comments on commit 2af33b4

Please sign in to comment.