aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorsilverwind <me@silverwind.io>2022-02-17 08:42:29 +0100
committerGitHub <noreply@github.com>2022-02-17 15:42:29 +0800
commitae85ee1c6f0447478a66301bc21afc4e59053561 (patch)
treef1ab77c33eb00ca8b0965933866eec065a3a15f3
parent08d5a836ef2ad8f984e9c72d4e871873ba1d91da (diff)
downloadgitea-ae85ee1c6f0447478a66301bc21afc4e59053561.tar.gz
gitea-ae85ee1c6f0447478a66301bc21afc4e59053561.zip
Allow mermaid render error to wrap (#18791)
-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;
}