|
|
@ -206,7 +206,7 @@ export function InformationSheet({ |
|
|
return ( |
|
|
return ( |
|
|
<div |
|
|
<div |
|
|
className={[ |
|
|
className={[ |
|
|
"fixed inset-0 z-50 flex items-end justify-center transition-all duration-[220ms] animate-in fade-in", |
|
|
|
|
|
|
|
|
"fixed inset-0 z-50 flex items-end justify-center overflow-y-auto transition-all duration-[220ms] animate-in fade-in", |
|
|
isClosing ? "bg-[#171717]/0 opacity-0" : "bg-[#171717]/55 opacity-100", |
|
|
isClosing ? "bg-[#171717]/0 opacity-0" : "bg-[#171717]/55 opacity-100", |
|
|
] |
|
|
] |
|
|
.filter(Boolean) |
|
|
.filter(Boolean) |
|
|
@ -235,7 +235,7 @@ export function InformationSheet({ |
|
|
<section |
|
|
<section |
|
|
{...props} |
|
|
{...props} |
|
|
className={[ |
|
|
className={[ |
|
|
"w-full sm:max-w-[375px] rounded-t-[22px] bg-[#F9F8F8] p-4 text-center shadow-[0_20px_60px_rgba(15,23,42,0.08)] transition-transform duration-[220ms] ease-out will-change-transform animate-in slide-in-from-bottom", |
|
|
|
|
|
|
|
|
"w-full sm:max-w-[375px] rounded-t-[22px] bg-[#F9F8F8] px-4 pt-4 pb-[max(24px,calc(24px+var(--safe-bottom)))] text-center shadow-[0_20px_60px_rgba(15,23,42,0.08)] transition-transform duration-[220ms] ease-out will-change-transform animate-in slide-in-from-bottom", |
|
|
isClosing ? "translate-y-full" : "translate-y-0", |
|
|
isClosing ? "translate-y-full" : "translate-y-0", |
|
|
className, |
|
|
className, |
|
|
] |
|
|
] |
|
|
|