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:
Gergő Tisza 2014-04-11 21:02:12 +00:00
parent d9bf36db45
commit b0fc56f039

View file

@ -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,