Ensure horizontal cards in the card block don't exceed the width of the screen
This commit is contained in:
parent
38219f0ea3
commit
63fac77ad1
|
@ -182,7 +182,7 @@
|
|||
}}
|
||||
styles={{
|
||||
display: "grid",
|
||||
"grid-template-columns": `repeat(auto-fill, minmax(${cardWidth}px, 1fr))`,
|
||||
"grid-template-columns": `repeat(auto-fill, minmax(min(${cardWidth}px, 100%), 1fr))`,
|
||||
}}
|
||||
>
|
||||
<BlockComponent
|
||||
|
|
Loading…
Reference in New Issue