picture group responsible
This commit is contained in:
parent
112d0f13b7
commit
530a524373
@ -401,3 +401,12 @@ a.google {
|
||||
.video-container video.fillWidth {
|
||||
width: 100%;
|
||||
}
|
||||
|
||||
@media only screen and (max-device-width : 992px) {
|
||||
|
||||
.pictures-line {
|
||||
display: inherit;
|
||||
}
|
||||
|
||||
}
|
||||
|
||||
|
@ -1,10 +1,10 @@
|
||||
{% if section.background %}
|
||||
<div id="bg-section" style="background: {{ section.background }};">
|
||||
{% endif %}
|
||||
<div class="pictures-group baguette">
|
||||
<div class="container baguette">
|
||||
<div class="row">
|
||||
{% for line in section.images %}
|
||||
<div class="pictures-line">
|
||||
{% set number = line|length %}
|
||||
{% for image in line %}
|
||||
{% if image.type == "video" %}
|
||||
{% set video = Video(image) %}
|
||||
@ -14,7 +14,7 @@
|
||||
{% set image = Image(image) %}
|
||||
{{ image.copy() }}
|
||||
{% endif %}
|
||||
<div class="col">
|
||||
<div class="col s12 m{{24 // number }} l{{12 // number }}">
|
||||
<div class="card">
|
||||
{% if video %}
|
||||
<div class="picture card-image">
|
||||
@ -39,7 +39,6 @@
|
||||
</div>
|
||||
</div>
|
||||
{% endfor %}
|
||||
</div>
|
||||
{% endfor %}
|
||||
</div>
|
||||
</div>
|
||||
|
Loading…
x
Reference in New Issue
Block a user