From: Saman Bemel-Benrud Date: Sat, 26 Jan 2013 00:53:15 +0000 (-0500) Subject: Allow non-square user images X-Git-Tag: live~5170 X-Git-Url: https://git.openstreetmap.org/rails.git/commitdiff_plain/a4af16417bf4e965d5aa63c55babfe1ea23abbc7 Allow non-square user images --- 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; }