Browse Source

refactor: avoid having extra space in bottom of the list

Signed-off-by: Pranav C <pranavxc@gmail.com>
pull/5848/head
Pranav C 1 year ago
parent
commit
61302e43cf
  1. 2
      packages/nc-gui/components/virtual-cell/components/ListChildItems.vue
  2. 2
      packages/nc-gui/components/virtual-cell/components/ListItems.vue

2
packages/nc-gui/components/virtual-cell/components/ListChildItems.vue

@ -107,7 +107,7 @@ const onClick = (row: Row) => {
:body-style="{ padding: 0 }"
wrap-class-name="nc-modal-child-list"
>
<div class="h-[max(calc(100vh_-_300px)_,500px)] flex flex-col py-6">
<div class="h-[min(max(calc(100vh_-_300px)_,350px),540px)] flex flex-col py-6">
<div class="flex mb-4 items-center gap-2 px-12">
<div class="flex-1" />
<component

2
packages/nc-gui/components/virtual-cell/components/ListItems.vue

@ -196,7 +196,7 @@ watch(vModel, (nextVal) => {
:body-style="{ padding: 0 }"
wrap-class-name="nc-modal-link-record"
>
<div class="h-[max(calc(100vh_-_300px)_,500px)] flex flex-col py-6">
<div class="h-[min(max(calc(100vh_-_300px)_,350px),540px)] flex flex-col py-6">
<div class="flex mb-4 items-center gap-2 px-12">
<a-input
ref="filterQueryRef"

Loading…
Cancel
Save