mirror of
https://gerrit.wikimedia.org/r/mediawiki/extensions/VisualEditor
synced 2024-11-25 06:46:26 +00:00
Wrap pre-formatted nodes at word boundaries, not window width
Bug: 38043 Change-Id: I9b5e3b3e62b52c86743ee345b1cc31beec0a061e
This commit is contained in:
parent
2e76271b4e
commit
83c79bd586
|
@ -152,6 +152,7 @@
|
|||
}
|
||||
|
||||
/* ve.ce.MWTemplateNode */
|
||||
|
||||
.ve-ce-MWtemplateBlockNode {
|
||||
display: block;
|
||||
}
|
||||
|
@ -166,6 +167,12 @@
|
|||
display: block;
|
||||
}
|
||||
|
||||
/* ve.ce.MWPreformattedNode */
|
||||
|
||||
pre.ve-ce-branchNode {
|
||||
white-space: pre-wrap;
|
||||
}
|
||||
|
||||
.ve-ce-branchNode h1:empty:before,
|
||||
.ve-ce-branchNode h2:empty:before,
|
||||
.ve-ce-branchNode h3:empty:before,
|
||||
|
|
Loading…
Reference in a new issue