From 74743bed0a600db13ffb98e9bfe0bffff17720ee Mon Sep 17 00:00:00 2001 From: Jef van Schendel Date: Wed, 7 Mar 2012 16:29:02 +0100 Subject: [PATCH] Push another half-fix for portrait thumbnails. Man, this thing is breaking all over the place. --- mediagoblin/static/css/base.css | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) 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 */ -- 2.25.1