This commit is contained in:
Timothy J. Baek 2024-08-04 18:16:00 +02:00
parent 88086935af
commit 5ce15bb0df

View File

@ -54,7 +54,7 @@
bind:this={previewElement}
class="modal fixed top-0 right-0 left-0 bottom-0 bg-black text-white w-full min-h-screen h-screen flex justify-center z-[9999] overflow-hidden overscroll-contain"
>
<div class=" absolute left-0 w-full flex justify-between">
<div class=" absolute left-0 w-full flex justify-between select-none">
<div>
<button
class=" p-5"
@ -98,6 +98,6 @@
</button>
</div>
</div>
<img {src} {alt} class=" mx-auto h-full object-scale-down" />
<img {src} {alt} class=" mx-auto h-full object-scale-down select-none" draggable="false" />
</div>
{/if}