From: Jef van Schendel Date: Wed, 7 Mar 2012 15:29:02 +0000 (+0100) Subject: Push another half-fix for portrait thumbnails. Man, this thing is breaking all over... X-Git-Url: https://vcs.fsf.org/?a=commitdiff_plain;h=74743bed0a600db13ffb98e9bfe0bffff17720ee;p=mediagoblin.git Push another half-fix for portrait thumbnails. Man, this thing is breaking all over the place. --- diff --git a/mediagoblin/static/css/base.css b/mediagoblin/static/css/base.css index 5808d7c5..e502bcd1 100644 --- a/mediagoblin/static/css/base.css +++ b/mediagoblin/static/css/base.css @@ -342,6 +342,7 @@ textarea#comment_content { float: left; padding: 0px; width: 180px; + height: 210px; overflow: hidden; margin: 0px 4px 10px; text-align: center; @@ -354,7 +355,8 @@ textarea#comment_content { } .media_thumbnail img { - width: 100%; + max-width: 100%; + max-height: 100%; } /* media detail */