From 719b2c512864baeeef06bcb8c059017e24f95138 Mon Sep 17 00:00:00 2001 From: Laurent Peuch Date: Fri, 11 Dec 2015 09:14:08 +0100 Subject: [PATCH] [fix] bugs in new index style --- prosopopee/static/css/style.css | 4 ++-- prosopopee/templates/index.html | 2 +- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/prosopopee/static/css/style.css b/prosopopee/static/css/style.css index fa3eb40..e08e151 100644 --- a/prosopopee/static/css/style.css +++ b/prosopopee/static/css/style.css @@ -31,10 +31,10 @@ body { .covers-2 .gallery-square { width: 50%; height: 100%; - float: left; - margin: 0 0 3%; + margin: 0 0 0; padding-bottom: 47%; position: relative; + display: inline-block; } .covers-3 .gallery-square { diff --git a/prosopopee/templates/index.html b/prosopopee/templates/index.html index e6ca5dd..fb45fbc 100644 --- a/prosopopee/templates/index.html +++ b/prosopopee/templates/index.html @@ -22,7 +22,7 @@
{% for galleries_line in galleries|reverse|batch(3)|reverse %}
- {% for gallery in galleries_line %}