Skip to content

Commit a42a52b

Browse files
committed
simplify long code
1 parent 911e366 commit a42a52b

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

components/Drawer/index.tsx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -40,7 +40,7 @@ const DrawerContent = React.forwardRef<
4040
<DrawerPrimitive.Content
4141
ref={ref}
4242
className={cn(
43-
"fixed inset-x-0 bottom-0 z-50 flex max-h-[90dvh] min-w-[360px] flex-col overflow-auto rounded-t-xl border border-otl-gray-200 bg-bg-white after:!bottom-0 after:!left-0 after:!right-0 after:!top-0 after:!h-0",
43+
"fixed inset-x-0 bottom-0 z-50 flex max-h-[90dvh] min-w-[360px] flex-col overflow-auto rounded-t-xl border border-otl-gray-200 bg-bg-white after:!inset-0 after:!h-0",
4444
className
4545
)}
4646
{...props}

0 commit comments

Comments
 (0)