fix(modal): draw modal edge constraints on Windows, close #967

Signed-off-by: Innei <i@innei.in>
This commit is contained in:
Innei 2024-10-16 20:06:30 +08:00
parent a079d85319
commit be21b19ecf
1 changed files with 1 additions and 1 deletions

View File

@ -102,7 +102,7 @@ export const DrawerModalLayout: FC<PropsWithChildren> = ({ children }) => {
className={cn(
"flex flex-col items-center overflow-hidden rounded-xl border bg-theme-background p-8 pb-0",
"shadow-drawer-to-left w-[60ch] max-w-full",
"fixed inset-y-2 right-2",
"fixed bottom-0 right-2 safe-inset-top-4",
)}
>
{children}