mirror of
https://codeberg.org/forgejo/forgejo.git
synced 2025-05-25 05:32:37 +00:00
Backport #23268 ## The Problem `overflow-wrap: break-word` doesn't work well for unbroken lines. Use `overflow-wrap: anywhere` instead, and remove legacy alias `word-wrap` ## Before  ## After  Co-authored-by: wxiaoguang <wxiaoguang@gmail.com> Co-authored-by: silverwind <me@silverwind.io>
This commit is contained in:
parent
8142408d3a
commit
83903535e3
1 changed files with 1 additions and 2 deletions
|
@ -2121,8 +2121,7 @@ a.ui.label:hover {
|
||||||
font: 12px var(--fonts-monospace);
|
font: 12px var(--fonts-monospace);
|
||||||
white-space: pre-wrap;
|
white-space: pre-wrap;
|
||||||
word-break: break-all;
|
word-break: break-all;
|
||||||
overflow-wrap: break-word;
|
overflow-wrap: anywhere;
|
||||||
word-wrap: break-word;
|
|
||||||
}
|
}
|
||||||
|
|
||||||
.blame .code-inner {
|
.blame .code-inner {
|
||||||
|
|
Loading…
Add table
Reference in a new issue