Skip to content

Commit 1134f24

Browse files
schighclaude
andcommitted
Switch docs to single-column layout for readable code samples
Code blocks were too wide for two-column cards, requiring horizontal scrolling. Single-column rows give every example full width. Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
1 parent 5d5f572 commit 1134f24

1 file changed

Lines changed: 3 additions & 3 deletions

File tree

docs/index.html

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -223,7 +223,7 @@
223223
/* ---- FUNCTION CARDS ---- */
224224
.fn-grid {
225225
display: grid;
226-
grid-template-columns: repeat(auto-fill, minmax(320px, 1fr));
226+
grid-template-columns: 1fr;
227227
gap: 18px;
228228
}
229229

@@ -345,7 +345,7 @@
345345
/* ---- PATTERNS ---- */
346346
.pattern-grid {
347347
display: grid;
348-
grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
348+
grid-template-columns: 1fr;
349349
gap: 18px;
350350
}
351351

@@ -767,7 +767,7 @@ <h2><span class="icon">&#x1F3B2;</span>Generate</h2>
767767
<p class="section-desc">Cryptographically secure random string generation with <code>crypto/rand</code>.</p>
768768

769769
<div class="fn-grid">
770-
<div class="fn-card" style="grid-column: span 2;">
770+
<div class="fn-card">
771771
<div class="fn-name">RandomToken <span class="tag tag-standalone">standalone</span></div>
772772
<div class="fn-sig">func RandomToken(opts ...TokenOption) string</div>
773773
<div class="fn-desc">Generate random strings. Bias-free character selection. Configurable length, charset, and prefix. Default: 20 alphanumeric characters.</div>

0 commit comments

Comments
 (0)