mirror of
https://github.com/ourongxing/newsnow.git
synced 2025-01-19 03:09:14 +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"
|
||||
className="grid w-full gap-5 mt-10"
|
||||
style={{
|
||||
gridTemplateColumns: "repeat(auto-fit, minmax(300px, 1fr))",
|
||||
gridTemplateColumns: "repeat(auto-fill, minmax(350px, 1fr))",
|
||||
}}
|
||||
>
|
||||
{currentSection.sourceList.map(id => (
|
||||
|
Loading…
x
Reference in New Issue
Block a user