Browse Source

refactor(gui-v2): reduce empty child card height in form view

Signed-off-by: Pranav C <pranavxc@gmail.com>
pull/3169/head
Pranav C 2 years ago
parent
commit
1d5a682342
  1. 7
      packages/nc-gui-v2/components/virtual-cell/components/ListChildItems.vue

7
packages/nc-gui-v2/components/virtual-cell/components/ListChildItems.vue

@ -134,7 +134,12 @@ const expandedFormRow = ref()
show-less-items
/>
</template>
<a-empty v-else class="my-10" :image="Empty.PRESENTED_IMAGE_SIMPLE" />
<a-empty
v-else
:class="{ 'my-10': !isForm, 'my-1 !text-xs': isForm }"
:image="Empty.PRESENTED_IMAGE_SIMPLE"
:image-style="isForm ? { height: '20px' } : {}"
/>
</div>
<Suspense>

Loading…
Cancel
Save