From ffa442b8623ebe9b4d02542fdb027aab18cbcf9d Mon Sep 17 00:00:00 2001 From: Carsten Kragelund Date: Mon, 14 Aug 2023 09:54:39 +0200 Subject: [PATCH] fix(ui/sheet): let consumer apply desired padding --- components/sheet.tsx | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/components/sheet.tsx b/components/sheet.tsx index e65d92f..4dbd43b 100644 --- a/components/sheet.tsx +++ b/components/sheet.tsx @@ -55,7 +55,7 @@ const SheetOverlay = React.forwardRef< )); SheetOverlay.displayName = SheetPrimitive.Overlay.displayName; -const sheetVariants = cva("fixed z-50 scale-100 gap-4 p-6 opacity-100", { +const sheetVariants = cva("fixed z-50 scale-100 gap-4 opacity-100", { variants: { position: { top: "animate-in slide-in-from-top w-full duration-300",