Preserve aspect ratio when scaling a user thumbnail
authorTom Hughes <tom@compton.nu>
Sun, 12 Jan 2014 20:32:33 +0000 (20:32 +0000)
committerTom Hughes <tom@compton.nu>
Sun, 12 Jan 2014 20:32:33 +0000 (20:32 +0000)
Fixes #675

app/assets/stylesheets/common.css.scss

index 06e6375e4220ba472a97acb1e0b153bd154b8619..d73d1000ac189b381dbeca288d3b8871376e1e17 100644 (file)
@@ -1869,6 +1869,8 @@ img.user_thumbnail {
 }
 
 img.user_thumbnail_tiny {
+  width: auto;
+  height: auto;
   max-width: 25px;
   max-height: 25px;
   border: 1px solid #ccc;