From 21fadb8c1025e4229fdc501716be9b3a35122e16 Mon Sep 17 00:00:00 2001 From: p-sw Date: Mon, 3 Jun 2024 23:16:46 +0900 Subject: [PATCH] feat: add child w-full in PopoverContent --- packages/react/components/Popover.tsx | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/packages/react/components/Popover.tsx b/packages/react/components/Popover.tsx index 3fac393..23b0cb4 100644 --- a/packages/react/components/Popover.tsx +++ b/packages/react/components/Popover.tsx @@ -54,7 +54,7 @@ const popoverColors = { }; const [popoverContentVariant, resolvePopoverContentVariantProps] = vcn({ - base: `absolute transition-all duration-150 border rounded-lg p-0.5 ${popoverColors.background} ${popoverColors.border}`, + base: `absolute transition-all duration-150 border rounded-lg p-0.5 [&>*]:w-full ${popoverColors.background} ${popoverColors.border}`, variants: { anchor: { topLeft: "bottom-full right-full origin-bottom-right",