Skip to content

Commit

Permalink
fix(listbox): card shadow clipping when inside listbox item (#3486)
Browse files Browse the repository at this point in the history
* 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
  • Loading branch information
awesome-pro committed Sep 7, 2024
1 parent 46cc019 commit 324fd6d
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 (#3480)
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",
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 324fd6d

Please sign in to comment.