Browse Source

fix(nc-gui): margin-auto -> m-auto

pull/5046/head
Wing-Kam Wong 2 years ago
parent
commit
70796e96a9
  1. 2
      packages/nc-gui/components/cell/attachment/Carousel.vue
  2. 2
      packages/nc-gui/components/cell/attachment/Modal.vue

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

@ -85,7 +85,7 @@ onClickOutside(carouselRef, () => {
<template #customPaging="props"> <template #customPaging="props">
<div class="cursor-pointer h-full nc-attachment-img-wrapper"> <div class="cursor-pointer h-full nc-attachment-img-wrapper">
<LazyCellAttachmentImage <LazyCellAttachmentImage
class="!block margin-auto h-full w-full" class="!block m-auto h-full w-full"
:alt="imageItems[props.i].title || `#${props.i}`" :alt="imageItems[props.i].title || `#${props.i}`"
:srcs="getPossibleAttachmentSrc(imageItems[props.i])" :srcs="getPossibleAttachmentSrc(imageItems[props.i])"
/> />

2
packages/nc-gui/components/cell/attachment/Modal.vue

@ -166,7 +166,7 @@ function onRemoveFileClick(title: any, i: number) {
<LazyCellAttachmentImage <LazyCellAttachmentImage
v-if="isImage(item.title, item.mimetype)" v-if="isImage(item.title, item.mimetype)"
:srcs="getPossibleAttachmentSrc(item)" :srcs="getPossibleAttachmentSrc(item)"
class="max-w-full max-h-full margin-auto justify-center" class="max-w-full max-h-full m-auto justify-center"
@click.stop="onClick(item)" @click.stop="onClick(item)"
/> />

Loading…
Cancel
Save