From b58ca81e20a1d4196f9724ac308bc6ff15ed9be9 Mon Sep 17 00:00:00 2001 From: Ashley Scopes <73482956+ascopes@users.noreply.github.com> Date: Sat, 31 Jul 2021 11:52:18 +0100 Subject: [PATCH] Updated code CSS wordbreak settings Updates tag CSS to enable breaking on word boundaries rather than on any character. This stops things like package names breaking mid-word rather than on the closest appropriate period character, improving readability. --- lib/common.css | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lib/common.css b/lib/common.css index 6bdfa0b48de..97c07f5225e 100644 --- a/lib/common.css +++ b/lib/common.css @@ -42,7 +42,7 @@ p { /* Allow wrapping code and remove colored background */ code, tt { white-space: pre-wrap; - word-break: break-all; + word-break: break-word; word-wrap: break-word; border-width: 0px; background-color: inherit;