Skip to content

Commit

Permalink
Add tests for grid classes.
Browse files Browse the repository at this point in the history
  • Loading branch information
louismaximepiton committed Oct 22, 2024
1 parent bb8b502 commit 33c6ba1
Show file tree
Hide file tree
Showing 4 changed files with 5,751 additions and 11 deletions.
6 changes: 6 additions & 0 deletions scss/_containers.scss
Original file line number Diff line number Diff line change
Expand Up @@ -18,6 +18,12 @@

// Responsive containers that are 100% wide until a breakpoint
@each $breakpoint, $container-max-width in $container-max-widths {
@if $breakpoint == 2xl {
.container-xxl {
@extend .container-fluid;
}
}

.container-#{$breakpoint} {
@extend .container-fluid;
}
Expand Down
1 change: 0 additions & 1 deletion scss/_variables.scss
Original file line number Diff line number Diff line change
Expand Up @@ -568,7 +568,6 @@ $grid-breakpoints: (
$breakpoint-3xl: map-get($grid-breakpoints, 3xl);
$grid-breakpoints: map-remove($grid-breakpoints, 2xl, 3xl);
$grid-breakpoints: map-merge($grid-breakpoints, (xxl: $breakpoint-2xl, 2xl: $breakpoint-2xl, 3xl: $breakpoint-3xl));
@debug $grid-breakpoints;
}

@include _assert-ascending($grid-breakpoints, "$grid-breakpoints");
Expand Down
2 changes: 1 addition & 1 deletion scss/mixins/_grid.scss
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@
// Generate semantic grid columns with these mixins.

@mixin make-row($gutter: $grid-gutter-width) {
--#{$prefix}gutter-x: #{$gutter};
// OUDS mod: définition of this variable is handled differently, see below.
--#{$prefix}gutter-y: 0;
display: flex;
flex-wrap: wrap;
Expand Down
Loading

0 comments on commit 33c6ba1

Please sign in to comment.