mirror of
https://github.com/angular/angular.git
synced 2026-09-14 13:54:52 +08:00
docs(docs-infra): remove transitions on sidenav (#50803)
The style of the side can be breaking when height > 4000. Lets remove this transition to not depend on a max height. fixes #50537 PR Close #50803
This commit is contained in:
committed by
Andrew Kushnir
parent
d0cbbb1681
commit
e1bcbefa5f
@@ -108,7 +108,6 @@ aio-nav-menu {
|
||||
visibility: visible;
|
||||
opacity: 1;
|
||||
padding-left: 0;
|
||||
max-height: 4000px; // Arbitrary max-height. Can increase if needed. Must have measurement to transition height.
|
||||
transition: visibility 500ms, opacity 500ms, max-height 500ms;
|
||||
transition-timing-function: ease-in-out;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user