We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 5a92c72 commit a776a14Copy full SHA for a776a14
1 file changed
src/frontend/styles/components/sidebar.pcss
@@ -202,10 +202,16 @@
202
/* plain radius: --squircle uses mask-box-image and gets clipped by overflow:hidden on ancestors */
203
border-radius: 8px;
204
}
205
+ }
206
- &:has(.docs-sidebar__section-toggler) {
207
- font-weight: 700;
208
- }
+ /* Top-level sidebar rows only: always bold (with or without children). Nested levels stay 400. */
+ &__content > .docs-sidebar__section > .docs-sidebar__section-title-wrapper > .docs-sidebar__section-title {
209
+ font-weight: 700;
210
211
+
212
+ /* Tighter gap between root items when the previous section is collapsed. */
213
+ &__content > .docs-sidebar__section--collapsed + .docs-sidebar__section {
214
+ margin-top: 12px;
215
216
217
&__section-title > span {
0 commit comments