mirror of
https://github.com/nextui-org/nextui.git
synced 2025-12-08 19:26:11 +00:00
fix(theme): dropdown-item has no ellipsis when it has a width and desc (#5638)
* fix(theme): dropdown-item where the text was too long without an ellipsis when there was a desc * chore(changeset): update message --------- Co-authored-by: WK <wingkwong.code@gmail.com>
This commit is contained in:
parent
d90ac57bc5
commit
3ba7d29848
5
.changeset/plenty-keys-turn.md
Normal file
5
.changeset/plenty-keys-turn.md
Normal file
@ -0,0 +1,5 @@
|
||||
---
|
||||
"@heroui/theme": patch
|
||||
---
|
||||
|
||||
fix after setting the maximum width at DropdownMenu, if there is a description, an ellipsis will not appear if the text is too long (#5564)
|
||||
@ -70,8 +70,8 @@ const menuItem = tv({
|
||||
...dataFocusVisibleClasses,
|
||||
"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",
|
||||
wrapper: "w-full flex flex-col items-start justify-center min-w-0",
|
||||
title: "flex-1 text-small font-normal w-full",
|
||||
description: ["w-full", "text-tiny", "text-foreground-500", "group-hover:text-current"],
|
||||
selectedIcon: ["text-inherit", "w-3", "h-3", "shrink-0"],
|
||||
shortcut: [
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user