mirror of
https://github.com/blitzkit/blitzkit.git
synced 2026-11-14 21:26:08 +01:00
feat: better gutter and headings
This commit is contained in:
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} />)}
|
||||
Reference in new issue
Block a user