mirror of
https://github.com/ourongxing/newsnow.git
synced 2025-01-31 10:58:04 +08:00
fix: card grid layout
This commit is contained in:
parent
7bd0b762b5
commit
38d3ab5ef6
@ -14,7 +14,7 @@ export function Main() {
|
|||||||
id="grid-container"
|
id="grid-container"
|
||||||
className="grid w-full gap-5 mt-10"
|
className="grid w-full gap-5 mt-10"
|
||||||
style={{
|
style={{
|
||||||
gridTemplateColumns: "repeat(auto-fit, minmax(300px, 1fr))",
|
gridTemplateColumns: "repeat(auto-fill, minmax(350px, 1fr))",
|
||||||
}}
|
}}
|
||||||
>
|
>
|
||||||
{currentSection.sourceList.map(id => (
|
{currentSection.sourceList.map(id => (
|
||||||
|
Loading…
x
Reference in New Issue
Block a user