mediawiki-skins-Vector/skinStyles/mediawiki.action.edit.less

11 lines
532 B
Plaintext
Raw Normal View History

@import '../resources/common/variables.less';
// FIXME: Remove -enabled when cache has cleared.
.vector-feature-limited-width-clientpref-1 #wikiPreview,
.vector-feature-limited-width-enabled #wikiPreview {
// @max-width-content-container is defined in ems, so the final width depends on font-size,
// but this element is nested in an element with a different font-size. Divide by the
// current font-size to get the intended result (as if font-size wasn't changed).
max-width: @max-width-content-container / @font-size-base;
}