Skip to content

Commit

Permalink
fix: fix gallery col-12 div
Browse files Browse the repository at this point in the history
  • Loading branch information
GreatWizard committed Dec 4, 2021
1 parent 958fb33 commit c3df216
Showing 1 changed file with 14 additions and 12 deletions.
26 changes: 14 additions & 12 deletions app/templates/club.hbs
Original file line number Diff line number Diff line change
Expand Up @@ -36,18 +36,20 @@

<h1>Galerie</h1>
<div class="gallery row">
<PhotoSwipe @class="col-12" @items={{this.gallery}} @history={{false}} as |photoSwipe|>
{{#each this.gallery as |item index|}}
{{!-- template-lint-disable no-invalid-interactive --}}
<img
src={{item.src}}
class="gallery__image{{if (eq index 0) " gallery__image--large"}}"
alt={{item.title}}
title={{item.title}}
{{on 'click' (fn photoSwipe.actions.open (hash index=index))}}
>
{{/each}}
</PhotoSwipe>
<div class="col-12">
<PhotoSwipe @items={{this.gallery}} @history={{false}} as |photoSwipe|>
{{#each this.gallery as |item index|}}
{{!-- template-lint-disable no-invalid-interactive --}}
<img
src={{item.src}}
class="gallery__image{{if (eq index 0) " gallery__image--large"}}"
alt={{item.title}}
title={{item.title}}
{{on 'click' (fn photoSwipe.actions.open (hash index=index))}}
>
{{/each}}
</PhotoSwipe>
</div>
</div>

</div>

0 comments on commit c3df216

Please sign in to comment.