Skip to content

Commit 4268b1a

Browse files
committed
Fix example of Right-Side navigation.
1 parent 13e78a7 commit 4268b1a

File tree

1 file changed

+6
-4
lines changed

1 file changed

+6
-4
lines changed

docs/templates/leftside/styling.md

Lines changed: 6 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -9,8 +9,9 @@ index: 4
99

1010
<style>
1111
:root {
12-
--body-grid-template-columns: minmax(0, 1fr) var(--aside-width);
13-
--aside-grid-column: 2;
12+
--body-grid-template-columns: minmax(0, 1fr) var(--main-menu-width);
13+
--body-grid-template-columns-xl: minmax(0, 1fr) var(--main-menu-width) var(--page-menu-width);
14+
--main-menu-grid-column: 2;
1415
--main-grid-column: 1;
1516
}
1617
</style>
@@ -19,8 +20,9 @@ The sidebar can be moved to the right by overwriting the following CSS variables
1920

2021
```css
2122
:root {
22-
--body-grid-template-columns: minmax(0, 1fr) var(--aside-width);
23-
--aside-grid-column: 2;
23+
--body-grid-template-columns: minmax(0, 1fr) var(--main-menu-width);
24+
--body-grid-template-columns-xl: minmax(0, 1fr) var(--main-menu-width) var(--page-menu-width);
25+
--main-menu-grid-column: 2;
2426
--main-grid-column: 1;
2527
}
2628
```

0 commit comments

Comments
 (0)