Browse Source

fix(nc-gui): attachment carousel style

pull/5046/head
Wing-Kam Wong 2 years ago
parent
commit
597c1d8c20
  1. 6
      packages/nc-gui/components/cell/attachment/Carousel.vue

6
packages/nc-gui/components/cell/attachment/Carousel.vue

@ -83,13 +83,13 @@ onClickOutside(carouselRef, () => {
</template>
<template #customPaging="props">
<a>
<div class="cursor-pointer h-full">
<LazyCellAttachmentImage
class="!block"
class="!block margin-auto h-full w-full"
:alt="imageItems[props.i].title || `#${props.i}`"
:src="getPossibleAttachmentSrc(imageItems[props.i])"
/>
</a>
</div>
</template>
<div v-for="(item, idx) of imageItems" :key="idx">
<LazyCellAttachmentImage :src="getPossibleAttachmentSrc(item)" class="max-w-70vw max-h-70vh" />

Loading…
Cancel
Save