Skip to content

Commit

Permalink
feat(core): notification content by default should be break by word
Browse files Browse the repository at this point in the history
  • Loading branch information
splincode committed Jan 30, 2024
1 parent 2f70d86 commit 0a9fdc5
Showing 1 changed file with 4 additions and 2 deletions.
6 changes: 4 additions & 2 deletions projects/core/components/notification/notification.style.less
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,9 @@
background: #fff; // fallback for IE
background: var(--tui-base-01);
box-sizing: border-box;
overflow-wrap: break-word;
overflow: hidden;
hyphens: none;

&[data-size='s'] {
padding: 0.375rem 0.625rem;
Expand Down Expand Up @@ -79,7 +81,7 @@

.t-content {
flex: 1;
word-wrap: break-word;
overflow-wrap: anywhere;
hyphens: inherit;
overflow-wrap: inherit;
color: var(--tui-text-01);
}

0 comments on commit 0a9fdc5

Please sign in to comment.