mirror of
https://github.com/TryGhost/Ghost.git
synced 2024-12-25 20:03:12 +03:00
Updated product card width
This commit is contained in:
parent
48a52e942f
commit
63ea290da6
@ -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;
|
||||
|
Loading…
Reference in New Issue
Block a user