Browse Source

Merge pull request #3618 from nocodb/fix/gallery-cover

fix: gallery card cover image distortion
pull/3626/head
navi 2 years ago committed by GitHub
parent
commit
359ff9befa
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
  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