diff --git a/src/_scss/components/article_cards.scss b/src/_scss/components/article_cards.scss index bcf394732..6423abda9 100644 --- a/src/_scss/components/article_cards.scss +++ b/src/_scss/components/article_cards.scss @@ -55,6 +55,10 @@ } } +.article_cards { + grid-template-columns: repeat(2, minmax(0, 1fr)); +} + /* This changes the number of columns based on the width of the * screen: * @@ -72,12 +76,6 @@ } } -.article_cards { - grid-template-columns: repeat(2, minmax(0, 1fr)); -} - - - @media screen and (min-width: 1000px) { .article_cards:not(.article_cards--1):not(.article_cards--2):not(.article_cards--4) { grid-template-columns: repeat(3, minmax(0, 1fr));