Skip to content

Commit

Permalink
fix responsive cards (#2661)
Browse files Browse the repository at this point in the history
  • Loading branch information
TomWoodward authored Aug 13, 2024
1 parent 09cb0b9 commit 90c4f40
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/app/pages/flex-page/blocks/CardsBlock.scss
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@
display: grid;

/* needs responsive design */
grid-template-columns: repeat(auto-fit, calc(var(--card-size, 27) * 1rem));
grid-template-columns: repeat(auto-fit, minmax(min-content, calc(var(--card-size, 27) * 1rem)));
grid-gap: ($normal-margin * 2);
justify-content: center;

Expand Down

0 comments on commit 90c4f40

Please sign in to comment.