Improved object_gallery.html spacing
authorJef van Schendel <jefvanschendel@gmail.com>
Mon, 30 May 2011 22:45:42 +0000 (00:45 +0200)
committerJef van Schendel <jefvanschendel@gmail.com>
Mon, 30 May 2011 22:45:42 +0000 (00:45 +0200)
mediagoblin/static/css/base.css
mediagoblin/templates/mediagoblin/utils/object_gallery.html

index 5d928b9ab1ef78f06e8516e13aa3e456fc0facff..1092dccff9669a5c6a69d482d91c470c34b134ac 100644 (file)
@@ -147,14 +147,17 @@ img.media_image {
   margin-right:auto;
 }
 
+ul.media_thumbnail {
+  padding:0px;
+}
+
 li.media_thumbnail {
-        width: 200px;
-        min-height: 250px;
-        display: -moz-inline-stack;
-        display: inline-block;
-        vertical-align: top;
-        margin: 5px;
-        zoom: 1;
-        *display: inline;
-        _height: 250px;
+  width:200px;
+  height:133px;
+  display:-moz-inline-stack;
+  display:inline-block;
+  vertical-align:top;
+  margin:0px 10px 10px 0px;
+  zoom:1;
+. *display:inline;
 }
index c9c3e0db2ab69966e5d38f0e7a634e3a921bdc41..8c88c174ae78c7850c6f6a16f643cc1acdded1b8 100644 (file)
@@ -19,7 +19,7 @@
 {% block object_gallery_content -%}
   <div>
     {% if media_entries %}
-      <ul>
+      <ul class="media_thumbnail">
         {% for entry in media_entries %}
           <li class="media_thumbnail">
             <a href="{{ entry.url_for_self(request.urlgen) }}">