From f14257926ec4839d4bd7c31f8dae7ecd326278ea Mon Sep 17 00:00:00 2001 From: Michael Telatynski <7t3chguy@gmail.com> Date: Thu, 19 Mar 2020 15:24:28 +0000 Subject: [PATCH] RoomPreviewBar word-break the sender name too Signed-off-by: Michael Telatynski <7t3chguy@gmail.com> --- res/css/views/rooms/_RoomPreviewBar.scss | 10 +++++++--- 1 file changed, 7 insertions(+), 3 deletions(-) diff --git a/res/css/views/rooms/_RoomPreviewBar.scss b/res/css/views/rooms/_RoomPreviewBar.scss index b3f6a12103..981cf06c69 100644 --- a/res/css/views/rooms/_RoomPreviewBar.scss +++ b/res/css/views/rooms/_RoomPreviewBar.scss @@ -25,9 +25,6 @@ limitations under the License. h3 { font-size: 18px; font-weight: 600; - // break-word, with fallback to break-all, which is wider supported - word-break: break-all; - word-break: break-word; &.mx_RoomPreviewBar_spinnerTitle { display: flex; @@ -36,6 +33,13 @@ limitations under the License. } } + h3, + .mx_RoomPreviewBar_message p { + // break-word, with fallback to break-all, which is wider supported + word-break: break-all; + word-break: break-word; + } + .mx_Spinner { width: auto; height: auto;