Skip to content

Commit

Permalink
fix(listbox): card shadow clipping when inside listbox item
Browse files Browse the repository at this point in the history
  • Loading branch information
awesome-pro committed Jul 16, 2024
1 parent b762141 commit 590a6da
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 1 deletion.
5 changes: 5 additions & 0 deletions .changeset/five-teachers-refuse.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
---
"@nextui-org/theme": patch
---

fixed the shadow clipping of card inside listbox or menubox item
2 changes: 1 addition & 1 deletion packages/core/theme/src/components/menu.ts
Original file line number Diff line number Diff line change
Expand Up @@ -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 overflow-visible",
description: ["w-full", "text-tiny", "text-foreground-500", "group-hover:text-current"],
selectedIcon: ["text-inherit", "w-3", "h-3", "flex-shrink-0"],
shortcut: [
Expand Down

0 comments on commit 590a6da

Please sign in to comment.