diff options
| author | Mark Otto <[email protected]> | 2020-09-21 16:27:26 -0700 |
|---|---|---|
| committer | Mark Otto <[email protected]> | 2020-09-22 10:06:08 -0700 |
| commit | fe77208a01b9b41ce13a9c68139d9f1618c48ec9 (patch) | |
| tree | 3e147cb1824279b9c02b7892e923b77f90d69916 | |
| parent | 6b1cdd099041f2971cb9456a4cf3b27306909194 (diff) | |
| download | bootstrap-fe77208a01b9b41ce13a9c68139d9f1618c48ec9.tar.xz bootstrap-fe77208a01b9b41ce13a9c68139d9f1618c48ec9.zip | |
Add new variable for -padding-x
| -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 b30f2ba7e..f87fc8eb9 100644 --- a/scss/_dropdown.scss +++ b/scss/_dropdown.scss @@ -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; diff --git a/scss/_variables.scss b/scss/_variables.scss index 610a56962..be8c014b3 100644 --- a/scss/_variables.scss +++ b/scss/_variables.scss @@ -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; |
