From 7141e869dfc9328e3eeeda909ea2ffc7e6dd0e34 Mon Sep 17 00:00:00 2001 From: Innei Date: Fri, 25 Oct 2024 22:07:34 +0800 Subject: [PATCH] fix(modal): drawer modal layout symmetric padding Signed-off-by: Innei --- apps/renderer/src/components/ui/modal/stacked/custom-modal.tsx | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/apps/renderer/src/components/ui/modal/stacked/custom-modal.tsx b/apps/renderer/src/components/ui/modal/stacked/custom-modal.tsx index 8be871dea..4a37ce3d3 100644 --- a/apps/renderer/src/components/ui/modal/stacked/custom-modal.tsx +++ b/apps/renderer/src/components/ui/modal/stacked/custom-modal.tsx @@ -101,7 +101,7 @@ export const DrawerModalLayout: FC = ({ 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 bottom-0 right-2 safe-inset-top-4", + "fixed bottom-4 right-2 safe-inset-top-4", )} > {children}