Skip to content

Commit

Permalink
🐛 - fix: fix a bug that could cause the grid size to vary
Browse files Browse the repository at this point in the history
  • Loading branch information
svenvandescheur committed Feb 19, 2024
1 parent dd0f4ac commit e7fb5be
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/components/layout/grid/grid.scss
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@

.mykn-grid {
display: grid;
grid-template-columns: repeat(6, auto);
grid-template-columns: repeat(6, 1fr);
gap: var(--gutter-v-mobile) var(--gutter-h-mobile);
width: 100%;

Expand All @@ -25,7 +25,7 @@

@media screen and (min-width: constants.$breakpoint-desktop) {
& {
grid-template-columns: repeat(12, auto);
grid-template-columns: repeat(12, 1fr);
gap: var(--gutter-v-desktop) var(--gutter-h-desktop);
}
}
Expand Down

0 comments on commit e7fb5be

Please sign in to comment.