From 0fd5392087d35ebe2268f32de422342020e573b9 Mon Sep 17 00:00:00 2001 From: Kerwin Bryant Date: Mon, 31 Mar 2025 11:56:03 +0800 Subject: [PATCH] Fix markup content overflow (#34072) Fix #34069: use `overflow-wrap: anywhere` to correctly wrap overflowed content. --- web_src/css/markup/content.css | 6 +----- 1 file changed, 1 insertion(+), 5 deletions(-) diff --git a/web_src/css/markup/content.css b/web_src/css/markup/content.css index 6d985a76a7..c5a9d9d11a 100644 --- a/web_src/css/markup/content.css +++ b/web_src/css/markup/content.css @@ -2,11 +2,7 @@ overflow: hidden; font-size: 16px; line-height: 1.5 !important; - overflow-wrap: break-word; -} - -.conversation-holder .markup { - overflow-wrap: anywhere; /* prevent overflow in code comments. TODO: properly restrict .conversation-holder width and remove this */ + overflow-wrap: anywhere; } .markup > *:first-child {