Browse Source

fix: gallery card cover image distortion

Signed-off-by: mertmit <mertmit99@gmail.com>
pull/3618/head
mertmit 2 years ago
parent
commit
0cc1d027ba
  1. 2
      packages/nc-gui/components/smartsheet/Gallery.vue

2
packages/nc-gui/components/smartsheet/Gallery.vue

@ -144,7 +144,7 @@ openNewRecordFormHook?.on(async () => {
<img <img
v-for="(attachment, index) in attachments(record)" v-for="(attachment, index) in attachments(record)"
:key="`carousel-${record.row.id}-${index}`" :key="`carousel-${record.row.id}-${index}`"
class="h-52" class="h-52 object-cover"
:src="attachment.url" :src="attachment.url"
/> />
</a-carousel> </a-carousel>

Loading…
Cancel
Save