Commit 1e106664 authored by Harry Glatz's avatar Harry Glatz
Browse files

[TASK] Add some spacing between items

parent 0f0ffa08
......@@ -12,7 +12,7 @@
</div>
<div class="col-md-4 mb-4 mb-md-0">
<f:for each="{feature.images}" as="media" iteration="i">
<div class="media-item mb-1">
<div class="media-item">
<f:switch expression="{media.originalResource.type}">
<f:case value="3">
<f:media class="audio-embed-item" file="{media}" width="{dimensions.width}" height="{dimensions.height}" alt="{media.alternative}" title="{media.title}" />
......
......@@ -7,8 +7,17 @@
</f:if>
<f:if condition="{features}">
<f:then>
<f:for each="{features}" as="feature">
<f:render partial="Feature/ShowFeature.html" arguments="{_all}"/>
<f:for each="{features}" as="feature" iteration="i">
<f:if condition="{i.isLast}">
<f:then>
<f:render partial="Feature/ShowFeature.html" arguments="{_all}"/>
</f:then>
<f:else>
<div class="border-bottom mb-5 pb-5">
<f:render partial="Feature/ShowFeature.html" arguments="{_all}"/>
</div>
</f:else>
</f:if>
</f:for>
</f:then>
<f:else>
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment