mirror of
https://gerrit.wikimedia.org/r/mediawiki/skins/Vector.git
synced 2024-11-12 09:21:11 +00:00
2f761f3a19
Also change alignment of preview box to the left, to match reading mode. Bug: T322385 Bug: T322738 Bug: T323751 Change-Id: Iaee930d9ddc0c4539aad417a80a7c95d590e8099
9 lines
425 B
Plaintext
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;
|
|
}
|