do not show image carousel arrows if only one image is present

This commit is contained in:
2025-11-30 17:15:04 +01:00
parent 8d2c9438ef
commit 512f6a5329

View File

@@ -71,6 +71,7 @@
> >
{/each} {/each}
</div> </div>
{#if images.length > 1}
<div class="absolute top-0 left-2 h-full flex items-center"> <div class="absolute top-0 left-2 h-full flex items-center">
<button <button
class="backdrop-invert-75 w-10 h-10 rounded-full flex justify-center items-center cursor-pointer z-20" class="backdrop-invert-75 w-10 h-10 rounded-full flex justify-center items-center cursor-pointer z-20"
@@ -86,6 +87,7 @@
> >
</div> </div>
{/if} {/if}
{/if}
</div> </div>
{#if activeImageIdx != null} {#if activeImageIdx != null}