mirror of
https://gerrit.wikimedia.org/r/mediawiki/extensions/CodeMirror
synced 2024-11-23 22:03:28 +00:00
Use white-space: break-spaces
Bug: T347902 Bug: T348006 Change-Id: I62cb4c4f55a9ed80c043c4a1c27dd276559b1cba
This commit is contained in:
parent
1a19f48c70
commit
1c853da980
|
@ -62,7 +62,11 @@
|
||||||
// The following are already set by mw-editfont-monospace on the parent: font-size, font-family
|
// The following are already set by mw-editfont-monospace on the parent: font-size, font-family
|
||||||
line-height: 1.5em;
|
line-height: 1.5em;
|
||||||
word-wrap: break-word;
|
word-wrap: break-word;
|
||||||
|
// Support: Chrome<76, Firefox<69
|
||||||
|
// Fallback for browsers which don't support break-spaces
|
||||||
white-space: pre-wrap;
|
white-space: pre-wrap;
|
||||||
|
// T347902
|
||||||
|
white-space: break-spaces;
|
||||||
word-break: normal;
|
word-break: normal;
|
||||||
-webkit-hyphens: manual;
|
-webkit-hyphens: manual;
|
||||||
-moz-hyphens: manual;
|
-moz-hyphens: manual;
|
||||||
|
|
Loading…
Reference in a new issue