Skip to content

Commit 66912d5

Browse files
clinteckerclaude
andcommitted
docs: full-width lint report, explanations stacked below
The example lint report was boxed into a two-column grid and clipped its longest lines. Stack the section instead: the terminal report spans full width (capped at 900px so every line — "edge #3 … (165pt inside)" and the 30/30 pass line — is fully visible), with the "what each check catches" list (now multi-column) and the "why it matters" cards below it. Co-Authored-By: Claude Opus 4.8 <noreply@anthropic.com> Claude-Session: https://claude.ai/code/session_01JoLDcosyaHg3tAKhU5SQaw
1 parent 730a357 commit 66912d5

1 file changed

Lines changed: 6 additions & 5 deletions

File tree

docs/index.html

Lines changed: 6 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -271,8 +271,9 @@
271271
@media (max-width:640px){ .glass{padding:28px 18px; border-radius:18px} }
272272

273273
/* Self-checking section — lint report + explanations */
274-
.lintgrid{display:grid; grid-template-columns:minmax(0,1.05fr) minmax(0,1fr); gap:26px; align-items:start; margin-top:22px}
275-
@media (max-width:860px){.lintgrid{grid-template-columns:1fr}}
274+
/* Stacked: full-width terminal report on top, explanations below it */
275+
.lintgrid{margin-top:22px}
276+
.lintgrid .lintreport{max-width:900px; margin:0 0 28px}
276277
.lintreport{
277278
background:#0b1420; color:#c7d3e6; border-radius:14px; overflow:hidden;
278279
border:1px solid rgba(140,170,210,.16); box-shadow:0 18px 46px -22px rgba(0,0,0,.6);
@@ -294,14 +295,14 @@
294295
.lintreport .ln{color:#c7d3e6}
295296
.lintreport .pass{color:#5fe3c0}
296297

297-
.lintwhat{margin:0; padding:0; list-style:none}
298-
.lintwhat li{padding:8px 0; border-bottom:1px solid var(--card-bd); font-size:.92rem; color:var(--muted)}
298+
.lintwhat{margin:0 0 22px; padding:0; list-style:none; column-width:330px; column-gap:38px}
299+
.lintwhat li{padding:8px 0; border-bottom:1px solid var(--card-bd); font-size:.92rem; color:var(--muted); break-inside:avoid}
299300
.lintwhat li:last-child{border-bottom:0}
300301
.lintwhat code{color:var(--accent); background:var(--code-bg); padding:.1em .4em; border-radius:5px; font-size:.82em}
301302
.lintwhat b{color:var(--fg); font-weight:600}
302303
.lintwhy{margin-top:22px}
303304
.lintwhy h3{font-size:1.02rem; margin:0 0 .5em}
304-
.whycards{display:grid; gap:12px}
305+
.whycards{display:grid; grid-template-columns:repeat(auto-fit,minmax(250px,1fr)); gap:12px}
305306
.whycards .why{background:var(--card-glass); border:1px solid var(--card-bd); border-left:3px solid var(--accent-ui); border-radius:10px; padding:13px 15px; backdrop-filter:blur(8px); -webkit-backdrop-filter:blur(8px)}
306307
.whycards .why b{color:var(--fg)}
307308
.whycards .why p{margin:.2em 0 0; color:var(--muted); font-size:.9rem}

0 commit comments

Comments
 (0)