mediawiki-skins-Vector/skinStyles/mediawiki.action.edit.less
Jon Robson fd046f3258 Use skin variables instead of local variables where possible
None of these files need access to the skin local variables. Use
skin variables instead

Change-Id: Iaf1591fdfc5487e6f05f020893864eb2097af708
2023-10-05 15:34:50 -07:00

11 lines
545 B
Plaintext

@import '../resources/skins.vector.styles/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;
}