From 6ee7bc57f17fad6596d91a0b2fa3ca4ea51c2ac8 Mon Sep 17 00:00:00 2001 From: Tom Hughes Date: Sun, 28 Feb 2010 08:41:10 +0000 Subject: [PATCH] Clamp the maximum width and height of user images. This ensures they can't get too big but means we don't get any upscaling. --- public/stylesheets/common.css | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) diff --git a/public/stylesheets/common.css b/public/stylesheets/common.css index 0a5969a7c..1d56b1464 100644 --- a/public/stylesheets/common.css +++ b/public/stylesheets/common.css @@ -706,11 +706,13 @@ abbr.geo { } img.user_image { - width: 100px; + max-width: 100px; + max-height: 100px; border: 1px solid black; } img.user_thumbnail { - width: 50px; + max-width: 50px; + max-height: 100px; border: 1px solid black; } -- 2.39.5