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 %}
{% with post.get_first_image as image %}
{% autoescape off %}
@@ -22,14 +20,12 @@
>>{{ post.id }}
{% endwith %}
- |
{% if forloop.counter|divisibleby:"3" %}
-