Skip to content

Commit 1e2ca92

Browse files
authored
fix(Item): description width (#1027)
1 parent b12a07a commit 1e2ca92

File tree

2 files changed

+6
-1
lines changed

2 files changed

+6
-1
lines changed
Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,5 @@
1+
---
2+
"@cube-dev/ui-kit": patch
3+
---
4+
5+
Fix Item description width to properly handle responsive sizing and prevent overflow issues.

src/components/content/Item/Item.tsx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -491,7 +491,7 @@ const ItemElement = tasty({
491491
'type=card | type=header': 'normal',
492492
},
493493
textOverflow: 'ellipsis',
494-
maxWidth: '100%',
494+
width: 'initial 100% 100%',
495495
textAlign: 'left',
496496
padding:
497497
'0 $description-padding-right $description-padding-bottom $description-padding-left',

0 commit comments

Comments
 (0)