Skip to content

Commit 05c9661

Browse files
authored
fix(components): menu descriptions should not wrap mid-word (#1825)
1 parent bdb66a5 commit 05c9661

File tree

2 files changed

+6
-1
lines changed

2 files changed

+6
-1
lines changed

.changeset/major-nights-run.md

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,5 @@
1+
---
2+
"@launchpad-ui/components": patch
3+
---
4+
5+
menu descriptions should not wrap mid-word

packages/components/src/styles/Menu.module.css

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -81,7 +81,7 @@
8181

8282
& [slot='description'] {
8383
grid-area: desc;
84-
word-break: break-all;
84+
word-break: break-word;
8585
}
8686

8787
& [slot='label']:has([data-icon]) ~ [slot='description'] {

0 commit comments

Comments
 (0)