From 4dd6352aec73db55852068ec146ee0f39bce4027 Mon Sep 17 00:00:00 2001 From: zadam Date: Thu, 1 Aug 2019 21:36:55 +0200 Subject: [PATCH] use overflow-wrap instead of word-break which doesn't break words unless they really don't fit --- src/public/stylesheets/style.css | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/public/stylesheets/style.css b/src/public/stylesheets/style.css index d1639dbbd..640dd0b5b 100644 --- a/src/public/stylesheets/style.css +++ b/src/public/stylesheets/style.css @@ -117,7 +117,7 @@ ul.fancytree-container { display: flex; flex-direction: column; min-height: 200px; - word-break: break-all; /* otherwise CKEditor fails miserably on super long lines */ + overflow-wrap: break-word; /* otherwise CKEditor fails miserably on super long lines */ font-family: var(--detail-font-family); font-size: var(--detail-font-size); } @@ -439,7 +439,7 @@ div.ui-tooltip { text-align: center; margin-top: 15px; text-overflow: ellipsis; - word-wrap: break-word; + overflow-wrap: break-word; } .child-overview-item a {