fix(docs-infra): prevent unnecessary SideNav scrollbar (#26416)
Fixes #21508 PR Close #26416
This commit is contained in:
parent
3daeadd235
commit
bab5b68910
|
@ -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.
|
||||||
|
|
Loading…
Reference in New Issue