mirror of
https://github.com/Hopiu/bootstrap.git
synced 2026-04-07 22:40:59 +00:00
Always set the CSS variables for gutters in containers (#34644)
We already do this in rows, so to best support our containers, we need to do it at the container level as well. Fixes #32658, fixes #34614, closes #32658. Co-authored-by: XhmikosR <xhmikosr@gmail.com>
This commit is contained in:
parent
328a29162d
commit
0c449b8b82
1 changed files with 2 additions and 0 deletions
|
|
@ -1,6 +1,8 @@
|
|||
// Container mixins
|
||||
|
||||
@mixin make-container($gutter: $container-padding-x) {
|
||||
--#{$variable-prefix}gutter-x: #{$gutter};
|
||||
--#{$variable-prefix}gutter-y: 0;
|
||||
width: 100%;
|
||||
padding-right: var(--#{$variable-prefix}gutter-x, #{$gutter});
|
||||
padding-left: var(--#{$variable-prefix}gutter-x, #{$gutter});
|
||||
|
|
|
|||
Loading…
Reference in a new issue