summaryrefslogtreecommitdiff
path: root/skins
diff options
context:
space:
mode:
authorAleksander Machniak <alec@alec.pl>2013-08-09 10:15:51 +0200
committerAleksander Machniak <alec@alec.pl>2013-08-09 10:15:51 +0200
commit328876db5c760dc1c2bda1fed1e6daab285a8e2f (patch)
treefbc0ca006874d7eea897ce7d4b427fdc06c87735 /skins
parent1391f17a521a19382c59ef9d4e93a8ced2f1a9e5 (diff)
Fix image scaling issues when image has only one dimension smaller than the limit (#1489274)
Other small code improvements.
Diffstat (limited to 'skins')
-rw-r--r--skins/classic/addressbook.css3
-rw-r--r--skins/larry/addressbook.css2
2 files changed, 3 insertions, 2 deletions
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 {
diff --git a/skins/larry/addressbook.css b/skins/larry/addressbook.css
index 090e54c7b..6bf9426c4 100644
--- a/skins/larry/addressbook.css
+++ b/skins/larry/addressbook.css
@@ -219,7 +219,7 @@
}
#contactpic img {
- width: 112px;
+ max-width: 112px;
visibility: inherit;
}