mediawiki-skins-Vector/skinStyles/mediawiki.action.edit.less
Sam Wilson 2f761f3a19 Fix font-size adjustments for narrow width
Also change alignment of preview box to the left, to match
reading mode.

Bug: T322385
Bug: T322738
Bug: T323751
Change-Id: Iaee930d9ddc0c4539aad417a80a7c95d590e8099
2023-01-23 09:21:19 +00:00

9 lines
425 B
Plaintext

@import '../resources/common/variables.less';
.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;
}