do not show image carousel arrows if only one image is present
This commit is contained in:
@@ -71,6 +71,7 @@
|
||||
>
|
||||
{/each}
|
||||
</div>
|
||||
{#if images.length > 1}
|
||||
<div class="absolute top-0 left-2 h-full flex items-center">
|
||||
<button
|
||||
class="backdrop-invert-75 w-10 h-10 rounded-full flex justify-center items-center cursor-pointer z-20"
|
||||
@@ -86,6 +87,7 @@
|
||||
>
|
||||
</div>
|
||||
{/if}
|
||||
{/if}
|
||||
</div>
|
||||
|
||||
{#if activeImageIdx != null}
|
||||
|
||||
Reference in New Issue
Block a user