From 1825c316a6b22f048e32edec529c6136b68c4642 Mon Sep 17 00:00:00 2001 From: Giteabot Date: Tue, 25 Jun 2024 08:00:17 +0800 Subject: [PATCH] Fix poor table column width due to breaking words (#31473) (#31477) Backport #31473 by brechtvl Co-authored-by: Brecht Van Lommel Co-authored-by: silverwind --- web_src/css/markup/content.css | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) diff --git a/web_src/css/markup/content.css b/web_src/css/markup/content.css index 39d26d7f95..9afc11a971 100644 --- a/web_src/css/markup/content.css +++ b/web_src/css/markup/content.css @@ -2,7 +2,11 @@ overflow: hidden; font-size: 16px; line-height: 1.5 !important; - overflow-wrap: anywhere; + overflow-wrap: break-word; +} + +.conversation-holder .markup { + overflow-wrap: anywhere; /* prevent overflow in code comments. TODO: properly restrict .conversation-holder width and remove this */ } .markup > *:first-child {