From 328876db5c760dc1c2bda1fed1e6daab285a8e2f Mon Sep 17 00:00:00 2001 From: Aleksander Machniak Date: Fri, 9 Aug 2013 10:15:51 +0200 Subject: Fix image scaling issues when image has only one dimension smaller than the limit (#1489274) Other small code improvements. --- skins/classic/addressbook.css | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) (limited to 'skins/classic/addressbook.css') diff --git a/skins/classic/addressbook.css b/skins/classic/addressbook.css index 415142e0c..9575ae25f 100644 --- a/skins/classic/addressbook.css +++ b/skins/classic/addressbook.css @@ -357,7 +357,8 @@ body.iframe, } #contactpic img { - width: 60px; + max-width: 60px; + max-height: 80px; } #contactpic.droptarget.hover { -- cgit v1.2.3