feat: add child w-full in PopoverContent

This commit is contained in:
p-sw 2024-06-03 23:16:46 +09:00
parent 0e5fd863b0
commit 21fadb8c10

View File

@ -54,7 +54,7 @@ const popoverColors = {
}; };
const [popoverContentVariant, resolvePopoverContentVariantProps] = vcn({ 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: { variants: {
anchor: { anchor: {
topLeft: "bottom-full right-full origin-bottom-right", topLeft: "bottom-full right-full origin-bottom-right",