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:
Родитель
6aa4bad4be
Коммит
b5d05761a4
|
@ -1078,6 +1078,7 @@ form.review-form .data-toggle {
|
|||
|
||||
.history-comment {
|
||||
white-space: pre-wrap;
|
||||
word-break: break-word;
|
||||
}
|
||||
|
||||
pre.history-comment {
|
||||
|
|
Загрузка…
Ссылка в новой задаче