forked from MarseyWorld/MarseyWorld
reduce margin on mobile
parent
a94171f1e7
commit
ccf8392ea8
|
@ -214,17 +214,17 @@
|
|||
{% endif %}
|
||||
|
||||
{% if p.is_video %}
|
||||
<div id="video-{{p.id}}" class="d-none ml-md-5 mt-4 mx-sm-auto">
|
||||
<div id="video-{{p.id}}" class="d-none ml-md-5 mt-md-4 mt-2 mx-sm-auto">
|
||||
<p class="resizable">
|
||||
<video {% if p.poster_url %}poster="{{p.poster_url}}"{% endif %} id="video2-{{p.id}}" controls preload="none" src="{{p.realurl(v)}}"></video>
|
||||
</p>
|
||||
</div>
|
||||
{% elif p.is_audio %}
|
||||
<div id="video-{{p.id}}" class="d-none ml-md-5 mt-4 mx-sm-auto">
|
||||
<div id="video-{{p.id}}" class="d-none ml-md-5 mt-md-4 mt-2 mx-sm-auto">
|
||||
<audio id="video2-{{p.id}}" controls preload="none" src="{{p.realurl(v)}}"></audio>
|
||||
</div>
|
||||
{% elif p.is_youtube %}
|
||||
<div id="video-{{p.id}}" class="d-none ml-md-5 mt-4 resizable">
|
||||
<div id="video-{{p.id}}" class="d-none ml-md-5 mt-md-4 mt-2 resizable">
|
||||
{{p.embed | safe}}
|
||||
</div>
|
||||
{% endif %}
|
||||
|
|
Loading…
Reference in New Issue