From 328876db5c760dc1c2bda1fed1e6daab285a8e2f Mon Sep 17 00:00:00 2001
From: Aleksander Machniak <alec@alec.pl>
Date: Fri, 09 Aug 2013 04:15:51 -0400
Subject: [PATCH] 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 files changed, 2 insertions(+), 1 deletions(-)

diff --git a/skins/classic/addressbook.css b/skins/classic/addressbook.css
index 415142e..9575ae2 100644
--- a/skins/classic/addressbook.css
+++ b/skins/classic/addressbook.css
@@ -357,7 +357,8 @@
 }
 
 #contactpic img {
-	width: 60px;
+	max-width: 60px;
+	max-height: 80px;
 }
 
 #contactpic.droptarget.hover {

--
Gitblit v1.9.1