From b75961e112796b3a7c0c7323dd75a5db5d33dd53 Mon Sep 17 00:00:00 2001 From: kang Date: Fri, 24 Apr 2026 01:07:32 +0800 Subject: [PATCH] =?UTF-8?q?fix:=20grid=20minmax=20260=E2=86=92220=20?= =?UTF-8?q?=E9=81=BF=E5=85=8D=201200=20viewport=20=E4=B8=8B=E5=8D=A1?= =?UTF-8?q?=E7=89=87=E6=BA=A2=E5=87=BA?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit 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) --- index.html | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/index.html b/index.html index ca06808..ae8fe48 100644 --- a/index.html +++ b/index.html @@ -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);