File tree Expand file tree Collapse file tree
site_jaspr/lib/components Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -168,7 +168,7 @@ class CollapsibleSidebar extends StatelessComponent {
168168 // ── Sidebar container ────────────────────────────────────────────────────
169169 css ('.sidebar' , [
170170 css ('&' ).styles (
171- padding: Padding .only (left : 0.5 .rem, bottom: 1.25 .rem, top: 0.75 .rem),
171+ padding: Padding .only (bottom: 1.25 .rem, top: 0.75 .rem),
172172 position: Position .relative (),
173173 fontSize: 0.875 .rem,
174174 ),
@@ -274,10 +274,12 @@ class CollapsibleSidebar extends StatelessComponent {
274274 'display' : 'grid' ,
275275 'grid-template-rows' : '0fr' ,
276276 'transition' : 'grid-template-rows 0.3s ease' ,
277+ // Indentation applied here (not on the inner ul) to avoid being
278+ // overridden by the higher-specificity .sidebar .sidebar-group ul rule.
279+ 'padding-left' : '1rem' ,
277280 },
278281 ),
279282 css ('.sidebar-children > ul' ).styles (
280- padding: Padding .only (left: 1. rem),
281283 overflow: Overflow .hidden,
282284 ),
283285 css ('.sidebar-collapsible.expanded .sidebar-children' ).styles (
You can’t perform that action at this time.
0 commit comments