1
1
mirror of https://github.com/go-gitea/gitea synced 2025-07-23 18:58:38 +00:00

Use overflow-wrap: anywhere to replace word-break: break-all (#34126)

This commit is contained in:
wxiaoguang
2025-04-06 17:13:02 +08:00
committed by GitHub
parent e1c2d05bde
commit a62ed19da6
5 changed files with 3 additions and 7 deletions

View File

@@ -38,7 +38,7 @@
{{if .ErrorMsg}}
<div class="tw-mt-8">
<p>{{ctx.Locale.Tr "error.occurred"}}:</p>
<pre class="tw-whitespace-pre-wrap tw-break-all">{{.ErrorMsg}}</pre>
<pre class="tw-whitespace-pre-wrap tw-wrap-anywhere">{{.ErrorMsg}}</pre>
</div>
{{end}}
<div class="tw-mt-8 tw-text-center">