pl-fe: fix dropdown navigation animation
Signed-off-by: nicole mikołajczyk <git@mkljczk.pl>
This commit is contained in:
@ -25,7 +25,7 @@ body {
|
||||
}
|
||||
|
||||
.⁂-dropdown-navigation {
|
||||
@apply fixed bottom-[60px] left-2 z-[1000] flex max-h-[calc(100dvh-68px)] w-full max-w-xs flex-1 origin-bottom-left flex-col overflow-hidden rounded-xl bg-white/90 shadow-lg backdrop-blur-md ease-in-out black:bg-black/90 no-reduce-motion:transition-transform dark:border dark:border-gray-800 dark:bg-primary-900/90 dark:shadow-none rtl:right-2 rtl:origin-bottom-right;
|
||||
@apply fixed bottom-[60px] left-2 z-[1000] flex max-h-[calc(100dvh-68px)] w-full max-w-xs flex-1 origin-bottom-left flex-col overflow-hidden rounded-xl bg-white/90 shadow-lg backdrop-blur-md ease-in-out black:bg-black/90 no-reduce-motion:transition-transform dark:border dark:border-gray-800 dark:bg-primary-900/90 dark:shadow-none rtl:right-2 rtl:origin-bottom-right no-reduce-motion:scale-0;
|
||||
|
||||
&__overlay {
|
||||
@apply fixed inset-0 cursor-default bg-gray-500 black:bg-gray-900 no-reduce-motion:transition-opacity dark:bg-gray-700;
|
||||
@ -39,8 +39,12 @@ body {
|
||||
}
|
||||
|
||||
&--visible {
|
||||
.⁂-dropdown-navigation__overlay {
|
||||
@apply opacity-20;
|
||||
.⁂-dropdown-navigation {
|
||||
@apply scale-100;
|
||||
|
||||
&__overlay {
|
||||
@apply opacity-20;
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user