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.
This commit is contained in:
Tom Hughes 2010-02-28 08:41:10 +00:00
parent 92339552d1
commit 6ee7bc57f1

View file

@ -706,11 +706,13 @@ abbr.geo {
} }
img.user_image { img.user_image {
width: 100px; max-width: 100px;
max-height: 100px;
border: 1px solid black; border: 1px solid black;
} }
img.user_thumbnail { img.user_thumbnail {
width: 50px; max-width: 50px;
max-height: 100px;
border: 1px solid black; border: 1px solid black;
} }