Skip to content

Commit

Permalink
feat(grid): use subtract function to calculate max-width of fluid con…
Browse files Browse the repository at this point in the history
…tainer to allow fixed unit in container-fluid-margin-widths definition
  • Loading branch information
Lausselloic authored and julien-deramond committed Oct 15, 2021
1 parent e123e54 commit f3bb99a
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion scss/mixins/_grid.scss
Original file line number Diff line number Diff line change
Expand Up @@ -43,7 +43,7 @@
@mixin make-container-fluid-widths() {
@each $breakpoint, $container-margin in $container-fluid-margin-widths {
@include media-breakpoint-up($breakpoint) {
max-width: #{100% - ($container-margin * 2)};
max-width: subtract(100%, ($container-margin * 2));
}
}
@include deprecate("The `make-container-fluid-widths` mixin", "v4.6.0", "v5");
Expand Down

0 comments on commit f3bb99a

Please sign in to comment.