Viewer: Fix responsive and positioning

This commit is contained in:
2020-04-08 19:31:24 +02:00
parent 240c92c6f6
commit e0abb558d8
6 changed files with 136 additions and 102 deletions

View File

@@ -233,7 +233,15 @@
</div>
</div>
{#if !viewer}
<PaginationDots className="carousel__dots" {photos} {currentIndex}
on:goToIndex={event => currentIndex = event.detail}
/>
{/if}
</div>
{#if viewer}
<PaginationDots className="carousel__dots" {photos} {currentIndex}
on:goToIndex={event => currentIndex = event.detail}
/>
{/if}