From 053e5829a388ce32dce4ff0ab97158b7b2a2fcc4 Mon Sep 17 00:00:00 2001 From: Brecht Van Lommel Date: Mon, 24 Jun 2024 19:48:43 +0200 Subject: [PATCH] Fix poor table column width due to breaking words (#31473) Caused by #31091 --------- 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 9546c11d6a0..d2dcf2ec6ec 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 {