mediawiki-skins-Vector/skinStyles/mediawiki.action.edit.less
Sam Wilson 0ebae6c4ef In max-width mode, constrain the width of page previews
This allows the editing form to be wide, but makes sure that the
preview seen will more closely match how the page will end up
after being saved.

Bug: T307725
Change-Id: Ib2085eece69fe08b7fca4aaeacef66b26cdd5f16
2022-05-30 11:52:59 +08:00

8 lines
229 B
Plaintext

@import '../resources/common/variables.less';
// Even if the editing form is max-width, the preview should be constrained.
.skin-vector-disable-max-width #wikiPreview {
max-width: @max-width-content-container;
margin: auto;
}