1
1
mirror of https://github.com/go-gitea/gitea synced 2025-07-22 18:28:37 +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

@@ -878,7 +878,6 @@ overflow-menu .ui.label {
.code-inner {
font: 12px var(--fonts-monospace);
white-space: pre-wrap;
word-break: break-all;
overflow-wrap: anywhere;
line-height: inherit; /* needed for inline code preview in markup */
}