]> git.parisson.com Git - teleforma.git/commitdiff
fix preview bg 0.8.5
authoryomguy <yomguy@parisson.com>
Sat, 18 Aug 2012 20:22:06 +0000 (22:22 +0200)
committeryomguy <yomguy@parisson.com>
Sat, 18 Aug 2012 20:22:06 +0000 (22:22 +0200)
teleforma/templates/teleforma/inc/media_list.html

index 4c3bfa55c3a76abce6ca4f4c84c853ba0929b74d..e204093caf73f6354f103d4fd6adc3b2a1a8e973 100644 (file)
@@ -18,8 +18,8 @@
             {% if media.item.related.all %}
              {% for related in media.item.related.all %}
               {% if related.title == "preview" %}
-               {% thumbnail related.file "168x94" as im %}
-                <div style="background: no-repeat url('{{ im.url }}') 0 0; background-size: 100%;">
+               {% thumbnail related.file "168x96" as im %}
+                <div style="background: no-repeat url('{{ im.url }}') 0 1px; background-size: 100%; background-color: #dfdfdf;">
                  <img src="{{ STATIC_URL }}teleforma/images/play_168.png" width="100%" alt="{% trans 'Click here' %}" />
                 </div>
                {% endthumbnail %}