diff options
author | Mark Otto <markd.otto@gmail.com> | 2022-03-01 23:52:00 +0300 |
---|---|---|
committer | GitHub <noreply@github.com> | 2022-03-01 23:52:00 +0300 |
commit | 9030f57db7762a48c813881ef22a99e6cebe99ce (patch) | |
tree | 18bdc0950330fbf9ba38ca2289d06956cec3919e /scss/_variables.scss | |
parent | b59b1080e1324394331b670fb102343ecb8736f8 (diff) |
Split CSS vars for padding values (#35921)
* Split CSS vars for padding values
Make these few components consistent with where we're heading with other components. Had to add some new Sass variables to handle the dropdown-header element, but not a huge deal. This ensures we can drop the combined variable in v6 when we're ready.
* Update scss/_dropdown.scss
Co-authored-by: Julien Déramond <julien.deramond@orange.com>
* Deprecate dropdown-header-padding var
Co-authored-by: Gaël Poupard <ffoodd@users.noreply.github.com>
Co-authored-by: Julien Déramond <julien.deramond@orange.com>
Diffstat (limited to 'scss/_variables.scss')
-rw-r--r-- | scss/_variables.scss | 6 |
1 files changed, 5 insertions, 1 deletions
diff --git a/scss/_variables.scss b/scss/_variables.scss index ce41aa945b..11b5cffacb 100644 --- a/scss/_variables.scss +++ b/scss/_variables.scss @@ -1150,7 +1150,11 @@ $dropdown-item-padding-y: $spacer * .25 !default; $dropdown-item-padding-x: $spacer !default; $dropdown-header-color: $gray-600 !default; -$dropdown-header-padding: $dropdown-padding-y $dropdown-item-padding-x !default; +$dropdown-header-padding-x: $dropdown-item-padding-x !default; +$dropdown-header-padding-y: $dropdown-padding-y !default; +// fusv-disable +$dropdown-header-padding: $dropdown-header-padding-y $dropdown-header-padding-x !default; // Deprecated in v5.2.0 +// fusv-enable // scss-docs-end dropdown-variables // scss-docs-start dropdown-dark-variables |