Use a smaller grid on smaller screen

This commit is contained in:
Alexandre Iooss 2021-10-13 14:25:11 +02:00
parent 5985b39ed8
commit d6a8a2b68e
3 changed files with 3 additions and 3 deletions

View file

@ -23,7 +23,7 @@
{% if latest %}
<div class="row mb-2">
{% for gallery in latest|slice:":32" %}
<div class="col-md-3 mb-2">
<div class="col-6 col-md-3 mb-2">
{% include "photologue/includes/gallery_sample.html" %}
</div>
{% endfor %}

View file

@ -17,7 +17,7 @@
{% if object_list %}
<div class="row mb-2">
{% for gallery in object_list %}
<div class="col-md-3 mb-2">
<div class="col-6 col-md-3 mb-2">
{% include "photologue/includes/gallery_sample.html" %}
</div>
{% endfor %}

View file

@ -8,7 +8,7 @@
<div class="row mb-2">
{% for gallery in galleries %}
<div class="col-md-3">
<div class="col-6 col-md-3 mb-2">
{% include "photologue/includes/gallery_sample.html" %}
</div>
{% endfor %}