mirror of
https://gerrit.wikimedia.org/r/mediawiki/skins/Vector.git
synced 2024-11-23 23:33:54 +00:00
fd046f3258
None of these files need access to the skin local variables. Use skin variables instead Change-Id: Iaf1591fdfc5487e6f05f020893864eb2097af708
11 lines
545 B
Plaintext
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;
|
|
}
|