From 0a9fdc53b4c481cbcf1a0e8ad4f87e5a334e99a8 Mon Sep 17 00:00:00 2001 From: splincode Date: Tue, 30 Jan 2024 16:38:25 +0300 Subject: [PATCH] feat(core): notification content by default should be break by word --- .../core/components/notification/notification.style.less | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) diff --git a/projects/core/components/notification/notification.style.less b/projects/core/components/notification/notification.style.less index 34add1123ea36..a61a498e3e548 100644 --- a/projects/core/components/notification/notification.style.less +++ b/projects/core/components/notification/notification.style.less @@ -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; @@ -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); }