Ensure horizontal cards in the card block don't exceed the width of the screen
This commit is contained in:
parent
737ce9dc32
commit
f0da6d9fd3
|
@ -182,7 +182,7 @@
|
||||||
}}
|
}}
|
||||||
styles={{
|
styles={{
|
||||||
display: "grid",
|
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
|
<BlockComponent
|
||||||
|
|
Loading…
Reference in New Issue