mediawiki-skins-Vector/skinStyles/mediawiki.action.edit.less
bwang 25f4bc2a37 Remove @font-size-base from vector-2022
Bug: T367899
Change-Id: I6ec44a10a7bfeb6b03912ca6d5a23eaed046db08
2024-09-26 11:44:57 -05:00

14 lines
530 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-small );
}
.mw-editform {
font-size: @font-size-small;
line-height: @line-height-small;
}