forked from open-webui/open-webui
fix: input image preview aspect ratio issue
This commit is contained in:
parent
d10e367664
commit
c342aa2f30
1 changed files with 1 additions and 1 deletions
|
@ -161,7 +161,7 @@
|
||||||
<div class="ml-2 mt-2 mb-1 flex space-x-2">
|
<div class="ml-2 mt-2 mb-1 flex space-x-2">
|
||||||
{#each files as file, fileIdx}
|
{#each files as file, fileIdx}
|
||||||
<div class=" relative group">
|
<div class=" relative group">
|
||||||
<img src={file.url} alt="input" class=" h-16 w-16 rounded-xl bg-cover" />
|
<img src={file.url} alt="input" class=" h-16 w-16 rounded-xl object-cover" />
|
||||||
|
|
||||||
<div class=" absolute -top-1 -right-1">
|
<div class=" absolute -top-1 -right-1">
|
||||||
<button
|
<button
|
||||||
|
|
Loading…
Reference in a new issue