Browse Source

fix(gui-v2): stop attachments overflowing

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

5
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,6 +139,7 @@ onKeyDown('Escape', () => {
</template>
<style lang="scss">
.nc-cell {
.nc-attachment-cell {
.ghost,
.ghost > * {
@ -150,4 +152,5 @@ onKeyDown('Escape', () => {
}
}
}
}
</style>

Loading…
Cancel
Save