mirror of
https://github.com/liamcottle/reticulum-meshchat.git
synced 2026-10-26 19:01:43 -04:00
don't squish or stretch preview images
This commit is contained in:
parent
59dfb5b3e2
commit
a77df97ea6
1 changed files with 1 additions and 1 deletions
|
|
@ -220,7 +220,7 @@
|
|||
<div class="w-32 h-32 rounded shadow border relative overflow-hidden">
|
||||
|
||||
<!-- image preview -->
|
||||
<img v-if="newMessageImageUrl" :src="newMessageImageUrl" class="w-full h-full"/>
|
||||
<img v-if="newMessageImageUrl" :src="newMessageImageUrl" class="w-full h-full object-cover"/>
|
||||
|
||||
<!-- remove button (top right) -->
|
||||
<div class="absolute top-0 right-0 p-1">
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue