mirror of
https://github.com/twbs/bootstrap.git
synced 2024-11-29 11:24:18 +01:00
54ac2c7b05
- Replaces make-container mixin's padding-x param with gutter to match naming - Changes value of container padding variable to match grid gutter width variable - Uses local CSS variable for container padding Fixes #31642
12 lines
239 B
SCSS
12 lines
239 B
SCSS
// Container mixins
|
|
|
|
@mixin make-container($gutter: $container-padding-x) {
|
|
--bs-gutter-x: #{$gutter};
|
|
|
|
width: 100%;
|
|
padding-right: var(--bs-gutter-x);
|
|
padding-left: var(--bs-gutter-x);
|
|
margin-right: auto;
|
|
margin-left: auto;
|
|
}
|