fix(docs-infra): prevent unnecessary SideNav scrollbar (#26416)

Fixes #21508

PR Close #26416
This commit is contained in:
George Kalpakas 2018-10-12 17:07:19 +03:00 committed by Miško Hevery
parent 3daeadd235
commit bab5b68910
1 changed files with 1 additions and 0 deletions

View File

@ -115,6 +115,7 @@ button.vertical-menu-item {
} }
.heading-children.collapsed { .heading-children.collapsed {
overflow: hidden; // Needed to prevent unnecessary sidenav scrollbar.
visibility: hidden; visibility: hidden;
opacity: 0; opacity: 0;
max-height: 1px; // Must have measurement to transition height. max-height: 1px; // Must have measurement to transition height.