Skip to content
This repository was archived by the owner on Mar 25, 2025. It is now read-only.

Commit 51eb309

Browse files
Brian OchanTigge
authored andcommitted
fix(toast): correctly wrap label if word
Correctly wraps toast label if label is a long word eg `thisisareallylongwordthatneedstobeclampedandwrappedwithanelipsis`
1 parent e73b35b commit 51eb309

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

packages/core/src/Toast/Toast.tsx

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -63,6 +63,7 @@ const LabelContainer = styled.div`
6363
6464
overflow: hidden;
6565
text-overflow: ellipsis;
66+
word-wrap: break-word;
6667
`
6768

6869
const MessageContainer = styled.div`

0 commit comments

Comments
 (0)