From a4af16417bf4e965d5aa63c55babfe1ea23abbc7 Mon Sep 17 00:00:00 2001 From: Saman Bemel-Benrud Date: Fri, 25 Jan 2013 19:53:15 -0500 Subject: [PATCH 1/1] Allow non-square user images --- app/assets/stylesheets/common.css.scss | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/app/assets/stylesheets/common.css.scss b/app/assets/stylesheets/common.css.scss index d516e0b9a..aa2e893aa 100644 --- a/app/assets/stylesheets/common.css.scss +++ b/app/assets/stylesheets/common.css.scss @@ -1422,8 +1422,8 @@ textarea { /* Rules for user images */ img.user_image { - width: 100px; - height: 100px; + max-width: 100px; + max-height: 100px; border: 1px solid #ccc; margin-bottom: 20px; float: left; @@ -1431,8 +1431,8 @@ img.user_image { } img.user_thumbnail { - width: 50px; - height: 50px; + max-width: 50px; + max-height: 50px; border: 1px solid #ccc; margin-right: 20px; } -- 2.43.2