aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorBrecht Van Lommel <brecht@blender.org>2024-06-24 19:48:43 +0200
committerGitHub <noreply@github.com>2024-06-24 17:48:43 +0000
commit053e5829a388ce32dce4ff0ab97158b7b2a2fcc4 (patch)
treec64ce4083045f3522953ea28d21df8259b828c23
parenta4899ffa24dfc905b05df5796ea304bd763c469c (diff)
downloadgitea-053e5829a388ce32dce4ff0ab97158b7b2a2fcc4.tar.gz
gitea-053e5829a388ce32dce4ff0ab97158b7b2a2fcc4.zip
Fix poor table column width due to breaking words (#31473)
Caused by #31091 --------- Co-authored-by: silverwind <me@silverwind.io>
-rw-r--r--web_src/css/markup/content.css6
1 files changed, 5 insertions, 1 deletions
diff --git a/web_src/css/markup/content.css b/web_src/css/markup/content.css
index 9546c11d6a..d2dcf2ec6e 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 {