Add dropdown animation

Fixed issue causing mis-clicks
This commit is contained in:
DispatchCommit 2021-01-29 17:44:12 -08:00
parent 77d90b807e
commit f991d5c87f
2 changed files with 3 additions and 2 deletions

View file

@ -70,11 +70,11 @@
@keyframes menu-animate-in { @keyframes menu-animate-in {
0% { 0% {
transform: scaleY(0); transform: translateY(-100%);
opacity: 0; opacity: 0;
} }
100% { 100% {
transform: scaleY(1); transform: translateY(0);
opacity: 1; opacity: 1;
} }
} }

View file

@ -10,6 +10,7 @@
position: absolute; position: absolute;
z-index: 2; z-index: 2;
font-size: var(--font-body); font-size: var(--font-body);
overflow: hidden;
} }
[data-reach-menu-list] { [data-reach-menu-list] {