We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
2 parents f30a183 + a9cb743 commit c4a0ea5Copy full SHA for c4a0ea5
docs/en/2.3/development/sidebar.md
@@ -44,3 +44,29 @@ You can also hide the sidebar by adding the sidebar-gone class in the `<body>` t
44
<body class="sidebar-gone">
45
```
46
47
+### Sidebar Mini
48
+
49
+You would of provider a mini sidebar? Add an class `sidebar-mini` on `body` tag.
50
51
52
+```html
53
+<body class="sidebar-mini">
54
+```
55
56
+Open the assets/js/scripts.js file and search function: `toggle_sidebar_mini` will be inside `toggleLayout` change param for true:
57
58
+```javascript
59
+toggle_sidebar_mini(true)
60
61
62
+Search for:
63
64
65
+$("body").removeClass("sidebar-gone sidebar-show");
66
67
68
+And add after:
69
70
71
+$("body").addClass("sidebar-mini");
72
0 commit comments