]> git.0d.be Git - panikweb.git/commitdiff
newsroll: reduce size of smaller images so they get some margins in webkit
authorFrédéric Péters <fpeters@0d.be>
Sat, 28 Sep 2013 09:01:50 +0000 (11:01 +0200)
committerFrédéric Péters <fpeters@0d.be>
Sat, 28 Sep 2013 09:01:50 +0000 (11:01 +0200)
panikweb_templates/templates/news/roll.html

index 965f5e4cfd60e0632e7ced7e59ec02c39ce9d6e7..414e78d8f0766c6e56668d2a958372a6a7be4161 100644 (file)
@@ -26,7 +26,7 @@
                            {% for content in news|slice:'0:3' %}
                                    <li style="width:30%;" class="num-{{ forloop.counter }} padded">
                                            <button class="inBlock" data-about="#newsRollId-{{ content.slug }}">
-                                                   <img style="width:98%;" src="{{ content.image|thumbnail:'160x120' }}" />
+                                                   <img style="width:95%;" src="{{ content.image|thumbnail:'160x120' }}" />
                                            </button>
                                    </li>
                            {% endfor %}