Skip to content

Commit 4365ffb

Browse files
authored
fix(notification): fix style of break word (element-plus#1701)
1 parent 8f256b1 commit 4365ffb

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

packages/theme-chalk/src/notification.scss

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -12,8 +12,10 @@
1212
background-color: $--color-white;
1313
box-shadow: $--notification-shadow;
1414
transition: opacity .3s, transform .3s, left .3s, right .3s, top 0.4s, bottom .3s;
15+
overflow-wrap: anywhere;
1516
overflow: hidden;
1617
z-index: 9999;
18+
1719
&.right {
1820
right: 16px;
1921
}
@@ -41,7 +43,6 @@
4143
margin: 6px 0 0 0;
4244
color: $--notification-content-color;
4345
text-align: justify;
44-
word-break: break-all;
4546

4647
p {
4748
margin: 0;

0 commit comments

Comments
 (0)