Skip to content

Commit

Permalink
Showing 2 changed files with 9 additions and 2 deletions.
1 change: 1 addition & 0 deletions scss/_custom.scss
Original file line number Diff line number Diff line change
@@ -623,6 +623,7 @@ $dropdown-link-active-bg: $black;
$dropdown-link-disabled-color: $gray;

$dropdown-item-padding-x: .625rem;
$dropdown-item-padding-y: .625rem;

$dropdown-header-color: #000;

10 changes: 8 additions & 2 deletions scss/_dropdown.scss
Original file line number Diff line number Diff line change
@@ -66,7 +66,10 @@
.dropdown-item {
display: block;
width: 100%; // For `<button>`s
padding: 3px $dropdown-item-padding-x;
// Boosted mod
// set padding top and bottom dynamic by adding a var in _custom.scss
padding: $dropdown-item-padding-y $dropdown-item-padding-x;
// End mod
clear: both;
font-weight: $font-weight-normal;
color: $dropdown-link-color;
@@ -130,7 +133,10 @@
// Dropdown section headers
.dropdown-header {
display: block;
padding: $dropdown-padding-y $dropdown-item-padding-x;
// Boosted Mod
// replace $dropdown-item-y used by native bootstrap by $dropdown-item-padding-y to be consistent with dropdown-item padding
padding: $dropdown-item-padding-y $dropdown-item-padding-x;
// end mod
margin-bottom: 0; // for use with heading elements
font-size: $font-size-sm;
color: $dropdown-header-color;

0 comments on commit b600b2a

Please sign in to comment.