Browse Source

chore(gui-v2): use pointer unless item is dragging

pull/2972/head
braks 2 years ago
parent
commit
9239cddf4c
  1. 5
      packages/nc-gui-v2/components/cell/attachment/Modal.vue

5
packages/nc-gui-v2/components/cell/attachment/Modal.vue

@ -100,7 +100,10 @@ onKeyDown('Escape', () => {
</div>
</a-tooltip>
<div class="nc-attachment h-full w-full flex items-center justify-center cursor-move">
<div
:class="[dragging ? 'cursor-move' : 'cursor-pointer']"
class="nc-attachment h-full w-full flex items-center justify-center"
>
<div
v-if="isImage(item.title, item.mimetype)"
:style="{ backgroundImage: `url('${item.url}')` }"

Loading…
Cancel
Save