]> git.parisson.com Git - teleforma.git/commitdiff
fix margin
authoryomguy <yomguy@parisson.com>
Sat, 28 Jul 2012 22:28:37 +0000 (00:28 +0200)
committeryomguy <yomguy@parisson.com>
Sat, 28 Jul 2012 22:28:37 +0000 (00:28 +0200)
teleforma/templates/teleforma/course_media.html

index 0f8468ed6659e1b22d7b78e700ea0c09948d7bb3..44ba2092644c9c857af42ba45614ec25188966db 100644 (file)
@@ -100,6 +100,7 @@ $(document).ready(function(){
 </div>
 
 {% elif "audio" in media.mime_type %}
+<div class="audio" style="margin-top:1em;">
 
 {% if media.item.related.all %}
  {% for related in media.item.related.all %}
@@ -111,10 +112,10 @@ $(document).ready(function(){
  snapshot
 {% endif %}
 
-<div class="audio" style="margin-top:1em;">
 <audio controls preload="auto">
 <source src="{{ MEDIA_URL }}{{ media.item.file }}" type="{{ media.mime_type }}" />
 </audio>
+
 </div>
 {% endif %}