Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

fix(listbox): card shadow clipping when inside listbox item #3486

Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
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