Fixed links splitting across line mid-word (#151)
authordaemonspring <92009746+daemonspring@users.noreply.github.com>
Wed, 27 Oct 2021 13:31:45 +0000 (14:31 +0100)
committerGitHub <noreply@github.com>
Wed, 27 Oct 2021 13:31:45 +0000 (19:01 +0530)
`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

index 89979ccffd424a6c5485db95d341ac7c546c8666..f2decf9b6e7468153ca0565050ba74c26ec89872 100644 (file)
   }
 
   & a {
-    word-break: break-all;
+    word-break: break-word;
   }
   &-edited {
     color: var(--tc-surface-low);
       border-bottom-width: 0px !important;
     }
   }
-}
\ No newline at end of file
+}