Browse Source

fix(gui-v2): stop attachments overflowing

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

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

@ -96,7 +96,8 @@ onKeyDown('Escape', () => {
v-for="(item, i) of visibleItems"
:id="item.url"
:key="item.url || item.title"
class="nc-attachment flex-auto flex items-center justify-center min-h-[50px] h-[50px] min-w-[50px] w-[50px] border-1"
style="flex: 1 1 50px"
class="nc-attachment flex items-center justify-center border-1"
>
<a-tooltip placement="bottom">
<template #title>
@ -138,7 +139,8 @@ onKeyDown('Escape', () => {
</template>
<style lang="scss">
.nc-attachment-cell {
.nc-cell {
.nc-attachment-cell {
.ghost,
.ghost > * {
@apply !pointer-events-none;
@ -149,5 +151,6 @@ onKeyDown('Escape', () => {
@apply !hidden;
}
}
}
}
</style>

Loading…
Cancel
Save