feat: better gutter and headings

This commit is contained in:
TrèsAbhi committed 2026-03-20 14:52:06 -05:00
1 parent 950c99d3d7
commit 313691d3e9
4 files changed
+10 -32

No files matched your search

@@ -44,7 +44,12 @@ for (const line of bodyOriginal.split("\n")) {
.gutter {
width: var(--space-2);
background: linear-gradient(transparent, var(--gray-6) var(--space-4));
background: linear-gradient(
transparent,
var(--gray-6) var(--space-4),
var(--gray-6) calc(100% - var(--space-4)),
transparent
);
margin: 0 var(--space-4);
}
@@ -10,8 +10,4 @@ interface Props {
const { apis, locale } = Astro.props;
---
{
apis
.sort((a, b) => a.id.localeCompare(b.id))
.map((api) => <ApiEntry {locale} {api} />)
}
{apis.map((api) => <ApiEntry {locale} {api} />)}