From b0fc56f039eb90f6c6eb70f79678b5fadf8497fe Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Gerg=C5=91=20Tisza?= Date: Fri, 11 Apr 2014 21:02:12 +0000 Subject: [PATCH] Fix icon positioning for secondary repo link The last change did not work so well for small (non-Commons) links, adjusting. Change-Id: I50bb25f4311715d93ebb12603b1b2546273efa31 --- resources/mmv/ui/mmv.ui.metadataPanel.less | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/resources/mmv/ui/mmv.ui.metadataPanel.less b/resources/mmv/ui/mmv.ui.metadataPanel.less index 469dc277d..6967e11f4 100644 --- a/resources/mmv/ui/mmv.ui.metadataPanel.less +++ b/resources/mmv/ui/mmv.ui.metadataPanel.less @@ -152,7 +152,7 @@ background-image: url(img/repo.svg); background-repeat: no-repeat; background-size: auto @icon-size; - background-position: (@padding + 4px) center; + background-position: @padding center; background-color: @info-box-color; line-height: 1.3; @@ -164,6 +164,7 @@ min-height: @icon-size; padding-left: @icon-size + 2 * @padding; background-size: auto @icon-size; + background-position: (@padding + 4px) center; } .mw-mmv-repo,