Skip to content

Commit 818b196

Browse files
rsbhclaude
andcommitted
fix: sidebar spacing adjustments
- Remove margin-bottom from topLinks - Nav group header: zero top/bottom padding, 12px margin-bottom - Remove h3 margin inside sidebar nav groups Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
1 parent d6b0561 commit 818b196

1 file changed

Lines changed: 7 additions & 1 deletion

File tree

packages/chronicle/src/themes/default/Layout.module.css

Lines changed: 7 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -76,7 +76,6 @@
7676

7777
.topLinks {
7878
width: 100%;
79-
margin-bottom: var(--rs-space-7);
8079
display: flex;
8180
flex-direction: column;
8281
gap: 0;
@@ -193,6 +192,9 @@
193192

194193
.navGroup .navGroupHeader {
195194
margin: 0;
195+
margin-bottom: var(--rs-space-4);
196+
padding-top: 0;
197+
padding-bottom: 0;
196198
}
197199

198200
.navGroup[data-depth='1'] .navGroupHeader {
@@ -226,6 +228,10 @@
226228
letter-spacing: var(--rs-letter-spacing-small);
227229
}
228230

231+
.sidebar :global([class*="nav-group"]) h3 {
232+
margin: 0;
233+
}
234+
229235
.navGroupChevron {
230236
margin-left: auto;
231237
}

0 commit comments

Comments
 (0)