Skip to content

Commit

Permalink
Fix grid column reordering off by one err (#4922)
Browse files Browse the repository at this point in the history
Remove off by one that was preventing col-start-* classes work up to 11, not 12.
  • Loading branch information
aaryanporwal committed Nov 28, 2023
1 parent a89d480 commit 1e47444
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions scss/_patterns_grid.scss
Expand Up @@ -144,9 +144,9 @@

// column reordering
$offsets: (
(small, 0, $threshold-4-6-col, $grid-columns-small - 1),
(medium, $threshold-4-6-col, $threshold-6-12-col, $grid-columns-medium - 1),
(large, $threshold-6-12-col, false, $grid-columns - 1)
(small, 0, $threshold-4-6-col, $grid-columns-small),
(medium, $threshold-4-6-col, $threshold-6-12-col, $grid-columns-medium),
(large, $threshold-6-12-col, false, $grid-columns)
);

@each $label, $breakpoint-min, $breakpoint-reset, $col-count in $offsets {
Expand Down

0 comments on commit 1e47444

Please sign in to comment.