From ac364e5ab74ef3460843f07641547d18f8f5c846 Mon Sep 17 00:00:00 2001 From: daemonspring <92009746+daemonspring@users.noreply.github.com> Date: Wed, 27 Oct 2021 14:31:45 +0100 Subject: [PATCH] Fixed links splitting across line mid-word (#151) `break-all` meant that links would split mid-word e.g. I observed `email` become `e\nmail`. `break-word` avoids this but also ensures long links still break before overflowing the line length. --- src/app/molecules/message/Message.scss | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/app/molecules/message/Message.scss b/src/app/molecules/message/Message.scss index 89979cc..f2decf9 100644 --- a/src/app/molecules/message/Message.scss +++ b/src/app/molecules/message/Message.scss @@ -160,7 +160,7 @@ } & a { - word-break: break-all; + word-break: break-word; } &-edited { color: var(--tc-surface-low); @@ -409,4 +409,4 @@ border-bottom-width: 0px !important; } } -} \ No newline at end of file +}