Push another half-fix for portrait thumbnails. Man, this thing is breaking all over...
authorJef van Schendel <mail@jefvanschendel.nl>
Wed, 7 Mar 2012 15:29:02 +0000 (16:29 +0100)
committerJef van Schendel <mail@jefvanschendel.nl>
Wed, 7 Mar 2012 15:29:02 +0000 (16:29 +0100)
mediagoblin/static/css/base.css

index 5808d7c53b90b09d660deebab9b3b76fa3dc9dbf..e502bcd10edb9b329639b91a0c97ab07a22bc9ec 100644 (file)
@@ -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 */