diff --git a/boards/static/css/base.css b/boards/static/css/base.css --- a/boards/static/css/base.css +++ b/boards/static/css/base.css @@ -109,7 +109,7 @@ textarea, input { width: 100%; } -.random-images-table > table { +.random-images-table > div { margin-left: auto; margin-right: auto; } diff --git a/boards/templates/boards/random.html b/boards/templates/boards/random.html --- a/boards/templates/boards/random.html +++ b/boards/templates/boards/random.html @@ -10,10 +10,8 @@ {% if posts %}
- - +
{% for post in posts %} -
{% if forloop.counter|divisibleby:"3" %} - - + +
{% endif %} {% endfor %} -
-
-
+
{% endif %}