fix: grid minmax 260→220 避免 1200 viewport 下卡片溢出
1200 宽度下 main padding 缩到 2.5rem(media query),可用宽度 840px。 3 × minmax(260, 1fr) + 2 gap = 872 超出 32px。 改成 minmax(220, 1fr),3 × 220 + 32 = 692 < 840,留足余量。 Co-Authored-By: Claude Opus 4.7 (1M context) <noreply@anthropic.com>
This commit is contained in:
@@ -133,7 +133,7 @@
|
||||
.card.warn{border-left:3px solid var(--yellow)}
|
||||
.card h4{margin-top:0}
|
||||
|
||||
.grid{display:grid;gap:1rem;grid-template-columns:repeat(auto-fit,minmax(260px,1fr));margin:1rem 0}
|
||||
.grid{display:grid;gap:1rem;grid-template-columns:repeat(auto-fit,minmax(220px,1fr));margin:1rem 0}
|
||||
|
||||
.tldr{
|
||||
background:linear-gradient(135deg,#2a1f1a,#1a2a26);
|
||||
|
||||
Reference in New Issue
Block a user