mediawiki-skins-Vector/skinStyles/mediawiki.action.edit.less
bwang 6e9047eb12 Migrate bare division math to parens division
Bug: T369669
Change-Id: Iadd66c626c0b61bc06db03b1c0a849995ffb87c4
2024-08-01 13:14:50 -05:00

9 lines
447 B
Plaintext

@import '../resources/skins.vector.styles/variables.less';
.vector-feature-limited-width-clientpref-1 #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 );
}