fix: disable message image drag

This commit is contained in:
Timothy J. Baek 2023-12-19 14:59:19 -08:00
parent 344c91e37a
commit 110498cad6

View file

@ -469,7 +469,12 @@
{#each message.files as file}
<div>
{#if file.type === 'image'}
<img src={file.url} alt="input" class=" max-h-96 rounded-lg" />
<img
src={file.url}
alt="input"
class=" max-h-96 rounded-lg"
draggable="false"
/>
{/if}
</div>
{/each}