~krystianch/buyfriend

01dda44ca786989dfb05e5269f3e4409d920b71c — Krystian Chachuła 3 months ago 448c2d5
Disable gallery thumbnails when there is only 1 photo
1 files changed, 2 insertions(+), 0 deletions(-)

M buyfriend/templates/ads_gallery.html
M buyfriend/templates/ads_gallery.html => buyfriend/templates/ads_gallery.html +2 -0
@@ 47,6 47,7 @@
    </div>
    {%- endfor %}
  </div>
  {%- if photos | length > 1 %}
  <div class="d-flex flex-nowrap py-2 flex-shrink-0 mt-1" style="overflow-x: auto;">
    <div class="flex-grow-1"></div>
    {%- for photo in photos %}


@@ 66,6 67,7 @@
    {%- endfor %}
    <div class="flex-grow-1"></div>
  </div>
  {%- endif %}
</div>
{%- endmacro %}