Skip to content

Commit 763b78a

Browse files
author
Yogthos
committed
Fix tools grid: use even 3-column layout so empty cells don't show gap background
1 parent 340a517 commit 763b78a

1 file changed

Lines changed: 6 additions & 2 deletions

File tree

index.html

Lines changed: 6 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -300,6 +300,9 @@
300300
gap:1px;background:var(--border);border:1px solid var(--border);
301301
border-radius:6px;overflow:hidden;
302302
}
303+
/* Fixed-column variant for grids whose card count divides evenly,
304+
so no empty cells show the gap background. */
305+
.card-grid.g3{grid-template-columns:repeat(3,1fr)}
303306
.card{
304307
background:var(--bg);padding:18px 16px;transition:background 0.15s;
305308
}
@@ -378,6 +381,7 @@
378381
/* ─── RESPONSIVE ────────────────────────────────────────────── */
379382
@media(max-width:780px){
380383
.feat-grid{grid-template-columns:1fr 1fr}
384+
.card-grid.g3{grid-template-columns:1fr 1fr}
381385
.hero-stats{grid-template-columns:repeat(2,1fr)}
382386
.col2{grid-template-columns:1fr;gap:12px}
383387
.col2-side{flex-direction:row;flex-wrap:wrap;border-top:0}
@@ -388,7 +392,7 @@
388392
}
389393
@media(max-width:500px){
390394
.feat-grid{grid-template-columns:1fr}
391-
.card-grid{grid-template-columns:1fr}
395+
.card-grid,.card-grid.g3{grid-template-columns:1fr}
392396
.hero-stats{grid-template-columns:1fr 1fr}
393397
.foot-inner{grid-template-columns:1fr}
394398
}
@@ -605,7 +609,7 @@ <h2 class="sec-title">Bring your <em>own model</em></h2>
605609
<h2 class="sec-title">25+ <em>built-in</em> tools</h2>
606610
<p class="sec-lede">Everything the agent needs — files, shell, search, code intelligence, and delegation — with zero configuration.</p>
607611

608-
<div class="card-grid">
612+
<div class="card-grid g3">
609613
<div class="card"><h4>Files &amp; edits</h4><p><code>read</code> · <code>write</code> · <code>edit</code> · <code>apply_patch</code> · <code>list_dir</code> · <code>find_files</code></p></div>
610614
<div class="card"><h4>Shell</h4><p><code>bash</code> · <code>bash_output</code> · <code>kill_shell</code> — foreground &amp; background</p></div>
611615
<div class="card"><h4>Search</h4><p><code>grep</code> · <code>glob</code> · <code>session_search</code></p></div>

0 commit comments

Comments
 (0)