mirror of
https://gerrit.wikimedia.org/r/mediawiki/extensions/MultimediaViewer
synced 2024-11-17 12:53:24 +00:00
Fix icon positioning for secondary repo link
The last change did not work so well for small (non-Commons) links, adjusting. Change-Id: I50bb25f4311715d93ebb12603b1b2546273efa31
This commit is contained in:
parent
d9bf36db45
commit
b0fc56f039
|
@ -152,7 +152,7 @@
|
||||||
background-image: url(img/repo.svg);
|
background-image: url(img/repo.svg);
|
||||||
background-repeat: no-repeat;
|
background-repeat: no-repeat;
|
||||||
background-size: auto @icon-size;
|
background-size: auto @icon-size;
|
||||||
background-position: (@padding + 4px) center;
|
background-position: @padding center;
|
||||||
background-color: @info-box-color;
|
background-color: @info-box-color;
|
||||||
|
|
||||||
line-height: 1.3;
|
line-height: 1.3;
|
||||||
|
@ -164,6 +164,7 @@
|
||||||
min-height: @icon-size;
|
min-height: @icon-size;
|
||||||
padding-left: @icon-size + 2 * @padding;
|
padding-left: @icon-size + 2 * @padding;
|
||||||
background-size: auto @icon-size;
|
background-size: auto @icon-size;
|
||||||
|
background-position: (@padding + 4px) center;
|
||||||
}
|
}
|
||||||
|
|
||||||
.mw-mmv-repo,
|
.mw-mmv-repo,
|
||||||
|
|
Loading…
Reference in a new issue