Skip to content

Commit

Permalink
Add new variable for -padding-x
Browse files Browse the repository at this point in the history
  • Loading branch information
mdo committed Sep 22, 2020
1 parent 6b1cdd0 commit fe77208
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 @@ -21,7 +21,7 @@
z-index: $zindex-dropdown;
display: none; // none by default, but block on "open" of the menu
min-width: $dropdown-min-width;
padding: $dropdown-padding-y 0;
padding: $dropdown-padding-y $dropdown-padding-x;
margin: $dropdown-spacer 0 0; // override default ul
@include font-size($dropdown-font-size);
color: $dropdown-color;
Expand Down
1 change: 1 addition & 0 deletions scss/_variables.scss
Expand Up @@ -928,6 +928,7 @@ $navbar-dark-brand-hover-color: $navbar-dark-active-color !default;
// Dropdown menu container and contents.

$dropdown-min-width: 10rem !default;
$dropdown-padding-x: 0 !default;
$dropdown-padding-y: .5rem !default;
$dropdown-spacer: .125rem !default;
$dropdown-font-size: $font-size-base !default;
Expand Down

0 comments on commit fe77208

Please sign in to comment.