Browse Source

chore(gui-v2): scale cell height

pull/2972/head
braks 2 years ago
parent
commit
ef82d08182
  1. 2
      packages/nc-gui-v2/components/cell/attachment/index.vue
  2. 1
      packages/nc-gui-v2/components/smartsheet/Cell.vue
  3. 4
      packages/nc-gui-v2/components/smartsheet/Grid.vue

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

@ -91,7 +91,7 @@ onKeyDown('Escape', () => {
</div>
<template v-if="visibleItems.length">
<div ref="sortableRef" :class="{ dragging }" class="flex flex-wrap gap-2 py-1 overflow-hidden scrollbar-thin-primary">
<div ref="sortableRef" :class="{ dragging }" class="flex flex-wrap gap-2 py-1 scrollbar-thin-primary">
<div
v-for="(item, i) of visibleItems"
:id="item.url"

1
packages/nc-gui-v2/components/smartsheet/Cell.vue

@ -90,6 +90,7 @@ div {
.nc-cell {
@apply relative w-full h-full;
display: inherit;
}
.nc-locked-overlay {

4
packages/nc-gui-v2/components/smartsheet/Grid.vue

@ -175,10 +175,6 @@ if (meta) useProvideColumnCreateStore(meta)
height: 41px !important;
position: relative;
padding: 0 5px;
& > * {
@apply flex items-center;
}
overflow: hidden;
}

Loading…
Cancel
Save