b0f65a08df
In attempts to fix RCFilters menu overlap with other UI elements when opening upwards, I1fe6b8b2c9 adds `z-index` rule to overlay element. But as part of the same rule, `position: relative` is added which cascades the absolute positioned overlay, causing it to appear in natural flow of document, which causes menu positioning parameters to render the menu detached from RCFilters. Bug: T183442 Change-Id: I3f7db005730d045b2278753cfd655169a96c60a9 |
||
---|---|---|
components | ||
i18n | ||
images | ||
screenshots | ||
skinStyles | ||
.eslintrc.json | ||
.gitignore | ||
.gitreview | ||
.phpcs.xml | ||
.stylelintrc.json | ||
CODE_OF_CONDUCT.md | ||
COPYING | ||
Gruntfile.js | ||
README.md | ||
ResourceLoaderLessModule.php | ||
SkinVector.php | ||
Vector.php | ||
VectorHooks.php | ||
VectorTemplate.php | ||
collapsibleTabs.js | ||
composer.json | ||
hooks.txt | ||
jsduck.json | ||
package.json | ||
print.less | ||
responsive.less | ||
screen-hd.less | ||
screen.less | ||
skin.json | ||
variables.less | ||
vector.js |
README.md
Vector Skin
Configuration options
$wgVectorPrintLogo
Logo used in print styles. Keys are url
, width
, and height
(in
pixels). Note that this solution only works correctly if the image
pointed to by url
is an SVG that does not specify width and height
attributes, or its width and height match the corresponding variables
below. Alternatively, a PNG or other type of image can be used, but
its dimensions also need to match the corresponding variable below.
That in turn may result in blurry images, though.
The URL can be absolute or relative.
Example configuration:
$wgVectorPrintLogo = [
'url' => 'https://en.wikipedia.org/static/images/mobile/copyright/wikipedia-wordmark-en.svg',
'width' => 174,
'height' => 27
];
- Type:
Array
- Default:
false