Browse Source

chore(gui-v2): update attachment cell styles

pull/2972/head
braks 2 years ago
parent
commit
993ac8381e
  1. 4
      packages/nc-gui-v2/components/cell/attachment/index.vue

4
packages/nc-gui-v2/components/cell/attachment/index.vue

@ -97,7 +97,8 @@ onKeyDown('Escape', () => {
:id="item.url"
:key="item.url || item.title"
style="flex: 1 1 50px"
class="nc-attachment flex items-center justify-center border-1"
:class="isImage(item.title, item.mimetype) ? '' : 'border-1 rounded'"
class="nc-attachment flex items-center justify-center"
>
<a-tooltip placement="bottom">
<template #title>
@ -110,6 +111,7 @@ onKeyDown('Escape', () => {
height="150"
:alt="item.title || `#${i}`"
:src="item.url || item.data"
class="ring-1 ring-gray-300 rounded"
@click="selectImage(item)"
/>

Loading…
Cancel
Save