mirror of
https://github.com/google/material-design-lite.git
synced 2024-09-20 08:38:27 +03:00
Merge pull request #1406 from google/issue-1025
Set `visibility: hidden` on menu if not visible (fixes #1025)
This commit is contained in:
commit
cf8dbe847c
@ -26,10 +26,13 @@
|
||||
overflow: visible;
|
||||
height: 0;
|
||||
width: 0;
|
||||
visibility: hidden;
|
||||
z-index: -1;
|
||||
|
||||
&.is-visible {
|
||||
&.is-visible,
|
||||
&.is-animating {
|
||||
z-index: 999;
|
||||
visibility: visible;
|
||||
}
|
||||
}
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user