Use white-space: break-spaces

Bug: T347902
Bug: T348006
Change-Id: I62cb4c4f55a9ed80c043c4a1c27dd276559b1cba
This commit is contained in:
Ed Sanders 2023-10-03 15:01:44 +01:00 committed by Jforrester
parent 1a19f48c70
commit 1c853da980

View file

@ -62,7 +62,11 @@
// The following are already set by mw-editfont-monospace on the parent: font-size, font-family
line-height: 1.5em;
word-wrap: break-word;
// Support: Chrome<76, Firefox<69
// Fallback for browsers which don't support break-spaces
white-space: pre-wrap;
// T347902
white-space: break-spaces;
word-break: normal;
-webkit-hyphens: manual;
-moz-hyphens: manual;