From 324fd6d3c1fb7e6f3ecb462a150182ffe1c7f132 Mon Sep 17 00:00:00 2001 From: Abhinandan Date: Sat, 7 Sep 2024 13:15:11 +0530 Subject: [PATCH] fix(listbox): card shadow clipping when inside listbox item (#3486) * fix(listbox): card shadow clipping when inside listbox item * fix(listbox): card shadow clipping when inside listbox item * Update five-teachers-refuse.md * Delete .changeset/bright-avocados-yell.md * fix(listbox): card shadow clipping when inside listbox item --- .changeset/five-teachers-refuse.md | 5 +++++ packages/core/theme/src/components/menu.ts | 2 +- 2 files changed, 6 insertions(+), 1 deletion(-) create mode 100644 .changeset/five-teachers-refuse.md diff --git a/.changeset/five-teachers-refuse.md b/.changeset/five-teachers-refuse.md new file mode 100644 index 0000000000..f82be5c34c --- /dev/null +++ b/.changeset/five-teachers-refuse.md @@ -0,0 +1,5 @@ +--- +"@nextui-org/theme": patch +--- + +fixed the shadow clipping of card inside listbox or menubox item (#3480) diff --git a/packages/core/theme/src/components/menu.ts b/packages/core/theme/src/components/menu.ts index 96dba231dc..b5abf8f83e 100644 --- a/packages/core/theme/src/components/menu.ts +++ b/packages/core/theme/src/components/menu.ts @@ -71,7 +71,7 @@ const menuItem = tv({ "data-[focus-visible=true]:dark:ring-offset-background-content1", ], wrapper: "w-full flex flex-col items-start justify-center", - title: "flex-1 text-small font-normal truncate", + title: "flex-1 text-small font-normal", description: ["w-full", "text-tiny", "text-foreground-500", "group-hover:text-current"], selectedIcon: ["text-inherit", "w-3", "h-3", "flex-shrink-0"], shortcut: [