2022-05-30 03:46:57 +00:00
|
|
|
@import '../resources/common/variables.less';
|
|
|
|
|
2023-07-11 23:13:57 +00:00
|
|
|
// FIXME: Remove -enabled when cache has cleared.
|
|
|
|
.vector-feature-limited-width-clientpref-1 #wikiPreview,
|
2023-01-20 04:47:10 +00:00
|
|
|
.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;
|
2022-05-30 03:46:57 +00:00
|
|
|
}
|