aboutsummaryrefslogtreecommitdiffstats
path: root/web_src
diff options
context:
space:
mode:
authorKerwin Bryant <kerwin612@qq.com>2025-03-31 11:56:03 +0800
committerGitHub <noreply@github.com>2025-03-31 11:56:03 +0800
commit0fd5392087d35ebe2268f32de422342020e573b9 (patch)
tree08a795231e39671cc34708b12cc8aa8fef9ef12f /web_src
parent2f43544c0192d6fc4b9755ad06c72ae92ce3e35f (diff)
downloadgitea-0fd5392087d35ebe2268f32de422342020e573b9.tar.gz
gitea-0fd5392087d35ebe2268f32de422342020e573b9.zip
Fix markup content overflow (#34072)
Fix #34069: use `overflow-wrap: anywhere` to correctly wrap overflowed content.
Diffstat (limited to 'web_src')
-rw-r--r--web_src/css/markup/content.css6
1 files changed, 1 insertions, 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 {