Add word-break:break-word to uses of white-space:pre-wrap (#20854)

`white-space: pre-wrap` prevents lines from being broken unless an
explicit line break is in there.

Since the content of these fields are external (user-generated), there
is no guarantee of the line length to be within reasonable bounds.

Rather than stretching the layout, add `word-break: break-word` to allow
the line to be wrapped regardless.
This commit is contained in:
Rob Wu 2023-06-20 17:25:37 +02:00 коммит произвёл GitHub
Родитель 6aa4bad4be
Коммит b5d05761a4
Не найден ключ, соответствующий данной подписи
Идентификатор ключа GPG: 4AEE18F83AFDEB23
1 изменённых файлов: 1 добавлений и 0 удалений

Просмотреть файл

@ -1078,6 +1078,7 @@ form.review-form .data-toggle {
.history-comment {
white-space: pre-wrap;
word-break: break-word;
}
pre.history-comment {