Skip to content

Commit

Permalink
small tweaks for the docs sidebar (facebook#2359)
Browse files Browse the repository at this point in the history
  • Loading branch information
Simek authored Nov 30, 2020
1 parent 87fa863 commit 2354d56
Showing 1 changed file with 8 additions and 3 deletions.
11 changes: 8 additions & 3 deletions website/src/css/customTheme.scss
Original file line number Diff line number Diff line change
Expand Up @@ -516,6 +516,10 @@ div[class^="docSidebarContainer"] {
width: 266px;
min-width: 266px;
margin-right: 16px;

.menu {
padding: 12px;
}
}

.menu__list {
Expand Down Expand Up @@ -572,9 +576,10 @@ html[data-theme="dark"] .menu {
@extend %scrollbar-style-dark;
}

@media (min-width: 997px) {
div[class^="docSidebarContainer"] .menu {
padding: 16px 12px;
@media (max-width: 1080px) {
div[class^="docSidebarContainer"] {
width: 236px;
min-width: 236px;
}
}

Expand Down

0 comments on commit 2354d56

Please sign in to comment.