menu adjustements

This commit is contained in:
Antoine M 2024-01-11 11:27:49 +01:00
parent 08a0cd892e
commit 15e74795f2

View File

@ -77,6 +77,8 @@
@apply font-medium @apply font-medium
text-center text-center
rounded-xl; rounded-xl;
@apply w-fit mx-auto lg:mx-0;
button, button,
a { a {
@apply block @apply block
@ -181,10 +183,10 @@
@apply overflow-hidden; @apply overflow-hidden;
&[opened] { &[opened] {
animation: height-in 400ms forwards ease-out, fade-in 800ms forwards ease-in; animation: height-in 500ms forwards ease-in, fade-in 1000ms forwards ease-in;
} }
&[closing] { &[closing] {
animation: height-out 500ms forwards ease-in, fade-out 800ms forwards ease-in; animation: height-out 500ms forwards ease-in, fade-out 500ms forwards ease-in;
} }
&[closed] { &[closed] {
@apply hidden; @apply hidden;