浏览代码

updated main-sidebar docs with additional classes

REJack 5 年之前
父节点
当前提交
2805e35b2f
共有 1 个文件被更改,包括 12 次插入0 次删除
  1. 12 0
      docs/components/main-sidebar.md

+ 12 - 0
docs/components/main-sidebar.md

@@ -73,4 +73,16 @@ The sidebar used in this page to the left provides an example of what your sideb
 ```
 {: .max-height-300}
 
+
+#### Additional Classes
+
+##### Navbar
+- `.nav-child-indent` Child indent
+- `.nav-compact` Compact nav items
+
+
+> ##### Tip!
+> You can also use `.text-sm` on `.nav-sidebar` for smaller font.
+{: .quote-info}
+
 For more infromation about the JS part of the sidebar, please visit the [PushMenu plugin page]({% link javascript/push-menu.md %})