diff --git a/src/components/PackImg.js b/src/components/PackImg.js index f6b70b3e3..1505e9491 100644 --- a/src/components/PackImg.js +++ b/src/components/PackImg.js @@ -24,7 +24,8 @@ const PackImg = ({ className, logoUrl, packName }) => { {packName} handlePackClick(id)} > - + + /> +
{ 287px ); - @media (max-width: 1350px) { - grid-template-columns: repeat(3, 1fr); - } + ${view === VIEWS.GRID && + css` + @media (max-width: 1350px) { + grid-template-columns: repeat(3, 1fr); + } - @media (max-width: 1180px) { - grid-template-columns: repeat(1, 1fr); - } + @media (max-width: 1180px) { + grid-template-columns: repeat(1, 1fr); + } + `} ${view === VIEWS.LIST && css`