From a4561fe89b9a899a8c4e1bae3434f3e2b445d269 Mon Sep 17 00:00:00 2001 From: Tom Hughes Date: Sun, 12 Jan 2014 20:32:33 +0000 Subject: [PATCH] Preserve aspect ratio when scaling a user thumbnail Fixes #675 --- app/assets/stylesheets/common.css.scss | 2 ++ 1 file changed, 2 insertions(+) diff --git a/app/assets/stylesheets/common.css.scss b/app/assets/stylesheets/common.css.scss index 06e6375e4..d73d1000a 100644 --- a/app/assets/stylesheets/common.css.scss +++ b/app/assets/stylesheets/common.css.scss @@ -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; -- 2.43.2