Skip to content

Commit 70308ad

Browse files
Add tests for grid classes.
1 parent bb8b502 commit 70308ad

File tree

4 files changed

+5753
-11
lines changed

4 files changed

+5753
-11
lines changed

scss/_containers.scss

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -18,6 +18,12 @@
1818

1919
// Responsive containers that are 100% wide until a breakpoint
2020
@each $breakpoint, $container-max-width in $container-max-widths {
21+
@if $breakpoint == 2xl {
22+
.container-xxl {
23+
@extend .container-fluid;
24+
}
25+
}
26+
2127
.container-#{$breakpoint} {
2228
@extend .container-fluid;
2329
}

scss/_variables.scss

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -568,7 +568,6 @@ $grid-breakpoints: (
568568
$breakpoint-3xl: map-get($grid-breakpoints, 3xl);
569569
$grid-breakpoints: map-remove($grid-breakpoints, 2xl, 3xl);
570570
$grid-breakpoints: map-merge($grid-breakpoints, (xxl: $breakpoint-2xl, 2xl: $breakpoint-2xl, 3xl: $breakpoint-3xl));
571-
@debug $grid-breakpoints;
572571
}
573572

574573
@include _assert-ascending($grid-breakpoints, "$grid-breakpoints");

scss/mixins/_grid.scss

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@
33
// Generate semantic grid columns with these mixins.
44

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

0 commit comments

Comments
 (0)