mirror of
https://github.com/facebook/docusaurus.git
synced 2025-06-02 10:52:35 +02:00
feat: sub-categories in sidebar.json (#892)
* Add ability to specify sub categories in sidebar.json * move v1 files to correct place * refactor implementation * refactor naming for implementation clarity
This commit is contained in:
parent
d052feec40
commit
954456088c
14 changed files with 535 additions and 88 deletions
|
@ -1756,7 +1756,12 @@ input::placeholder {
|
|||
margin-bottom: 16px;
|
||||
}
|
||||
|
||||
.toc .toggleNav .navGroup .navGroupCategoryTitle {
|
||||
.toc .toggleNav .subNavGroup {
|
||||
margin-top : 16px;
|
||||
}
|
||||
|
||||
.toc .toggleNav .navGroup .navGroupCategoryTitle,
|
||||
.toc .toggleNav .navGroup .navGroupSubCategoryTitle {
|
||||
color: #393939;
|
||||
font-size: 18px;
|
||||
font-weight: 500;
|
||||
|
@ -1765,6 +1770,10 @@ input::placeholder {
|
|||
margin-top: 0;
|
||||
}
|
||||
|
||||
.toc .toggleNav .navGroup .navGroupSubCategoryTitle {
|
||||
font-size: 16px;
|
||||
}
|
||||
|
||||
.toc .toggleNav .navGroup .navListItem {
|
||||
margin: 0;
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue