##// END OF EJS Templates
Use more mobile friendly design for random images (no tables, just blocks that...
neko259 -
r1248:be5f9d10 default
parent child Browse files
Show More
@@ -109,7 +109,7 b' textarea, input {'
109 109 width: 100%;
110 110 }
111 111
112 .random-images-table > table {
112 .random-images-table > div {
113 113 margin-left: auto;
114 114 margin-right: auto;
115 115 }
@@ -10,10 +10,8 b''
10 10
11 11 {% if posts %}
12 12 <div class="random-images-table">
13 <table>
14 <tr>
13 <div>
15 14 {% for post in posts %}
16 <td>
17 15 <div class="gallery_image">
18 16 {% with post.get_first_image as image %}
19 17 {% autoescape off %}
@@ -22,14 +20,12 b''
22 20 <a href="{{ post.get_absolute_url }}">>>{{ post.id }}</a>
23 21 {% endwith %}
24 22 </div>
25 </td>
26 23 {% if forloop.counter|divisibleby:"3" %}
27 </tr>
28 <tr>
24 </div>
25 <div>
29 26 {% endif %}
30 27 {% endfor %}
31 </tr>
32 </table>
28 </div>
33 29 </div>
34 30 {% endif %}
35 31
General Comments 0
You need to be logged in to leave comments. Login now