Skip to content

Commit

Permalink
fix(TDOPS-762): notification can have long words that will not overfl…
Browse files Browse the repository at this point in the history
…ow (#4950)
  • Loading branch information
Gbacc authored Oct 24, 2023
1 parent 4044f61 commit da4cf29
Show file tree
Hide file tree
Showing 3 changed files with 7 additions and 1 deletion.
5 changes: 5 additions & 0 deletions .changeset/little-suns-reply.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
---
'@talend/react-components': patch
---

TDOPS-762 - Allow notification message to have long labels with proper overflow
Original file line number Diff line number Diff line change
Expand Up @@ -85,6 +85,7 @@ $tc-notification-icon-size: $svg-md-size !default;
&-message {
margin-right: $padding-larger;
font-size: $font-size-small;
word-break: break-all;

&:last-of-type {
margin-bottom: 0;
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@ class NotificationWrapper extends Component {
type: 'info',
title: 'Story 1 example title',
message:
'This is a feedback of your operation1, This is a feedback of your operation1, This is a feedback of your operation1',
'This is a feedback of your operationlongnameverylongnamethatwhillbreakwork1, This is a feedback of your operation1, This is a feedback of your operation1',
action: {
label: 'Haha',
icon: 'talend-undo',
Expand Down

0 comments on commit da4cf29

Please sign in to comment.