Skip to content

Commit ff73f86

Browse files
committed
Use grid over flex for more galleries
1 parent f21f7ba commit ff73f86

File tree

1 file changed

+2
-3
lines changed

1 file changed

+2
-3
lines changed

dotcom-rendering/src/components/MoreGalleries.tsx

Lines changed: 2 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -44,13 +44,12 @@ const standardCardStyles = css`
4444

4545
const standardCardsListStyles = css`
4646
width: 100%;
47-
display: flex;
48-
flex-direction: column;
47+
display: grid;
4948
gap: 20px;
5049
margin-bottom: ${space[6]}px;
5150
5251
${from.tablet} {
53-
flex-direction: row;
52+
grid-template-columns: repeat(4, 1fr);
5453
padding-top: ${space[2]}px;
5554
}
5655

0 commit comments

Comments
 (0)