Skip to content

Commit 8ef8a60

Browse files
rsbhclaude
andcommitted
fix: target h3 margin via navGroupHeader classNames prop
Replace global selector hack with scoped .navGroupHeader h3. Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
1 parent 818b196 commit 8ef8a60

1 file changed

Lines changed: 4 additions & 4 deletions

File tree

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

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -197,6 +197,10 @@
197197
padding-bottom: 0;
198198
}
199199

200+
.navGroupHeader h3 {
201+
margin: 0;
202+
}
203+
200204
.navGroup[data-depth='1'] .navGroupHeader {
201205
height: auto;
202206
}
@@ -228,10 +232,6 @@
228232
letter-spacing: var(--rs-letter-spacing-small);
229233
}
230234

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

0 commit comments

Comments
 (0)