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: [