summaryrefslogtreecommitdiffstats
path: root/web_src/less/markup/content.less
diff options
context:
space:
mode:
authorsilverwind <me@silverwind.io>2022-02-17 08:42:43 +0100
committerGitHub <noreply@github.com>2022-02-17 15:42:43 +0800
commitbd71245c53275d5c8ffcd231b9e0f6fcd7b5dc80 (patch)
tree7317f9f7b5be165d41834c899b24aba630b4d952 /web_src/less/markup/content.less
parent3a29a23cdc2823bbce30f5ab99ad01d72208de64 (diff)
downloadgitea-bd71245c53275d5c8ffcd231b9e0f6fcd7b5dc80.tar.gz
gitea-bd71245c53275d5c8ffcd231b9e0f6fcd7b5dc80.zip
Allow mermaid render error to wrap (#18790)
Diffstat (limited to 'web_src/less/markup/content.less')
-rw-r--r--web_src/less/markup/content.less2
1 files changed, 1 insertions, 1 deletions
diff --git a/web_src/less/markup/content.less b/web_src/less/markup/content.less
index b8dafe3511..3d99095424 100644
--- a/web_src/less/markup/content.less
+++ b/web_src/less/markup/content.less
@@ -550,7 +550,7 @@
border-bottom-right-radius: 0 !important;
box-shadow: none !important;
font-size: 85% !important;
- white-space: pre !important;
+ white-space: pre-wrap !important;
padding: .5rem 1rem !important;
text-align: left !important;
}