forked from open-webui/open-webui
fix: disable message image drag
This commit is contained in:
parent
344c91e37a
commit
110498cad6
1 changed files with 6 additions and 1 deletions
|
@ -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}
|
||||
|
|
Loading…
Reference in a new issue