From 340f100beaf9180fe10e7a9fcd720cbc418bfdec Mon Sep 17 00:00:00 2001 From: Sacha STAFYNIAK Date: Mon, 7 Aug 2023 17:56:32 +0200 Subject: [PATCH] fix(dropdown): menu content container --- src/plugins/components/dropdown.ts | 3 +++ 1 file changed, 3 insertions(+) diff --git a/src/plugins/components/dropdown.ts b/src/plugins/components/dropdown.ts index 7c55828..29582db 100644 --- a/src/plugins/components/dropdown.ts +++ b/src/plugins/components/dropdown.ts @@ -117,6 +117,9 @@ export default plugin.withOptions( [`.${prefix}-menu`]: { [`@apply relative`]: {}, }, + [`.${prefix}-menu-content`]: { + [`@apply p-2`]: {}, + }, [`.${prefix}-context-button`]: { [`@apply dark:ring-offset-${config.contextButton.ringOffsetDark} inline-flex h-${config.contextButton.size} w-${config.contextButton.size} items-center justify-center rounded-${config.contextButton.rounded} ring-1 ring-transparent transition-all duration-${config.contextButton.duration} group-hover:ring-${config.contextButton.ringGroupHover}`]: {},