Updated product card width

This commit is contained in:
Peter Zimon 2021-06-30 13:05:30 +02:00
parent 48a52e942f
commit 63ea290da6

View File

@ -61,7 +61,7 @@ export const ProductsSectionStyles = ({site}) => {
.gh-portal-products-grid {
display: grid;
grid-template-columns: repeat(${productColumns(noOfProducts)}, minmax(0, 280px));
grid-template-columns: repeat(${productColumns(noOfProducts)}, minmax(0, ${(productColumns(noOfProducts) <= 3 ? `360px` : `300px`)}));
grid-gap: 32px;
margin: 0 auto;
padding: 32px 2vw;