Browse Source

refactor: child list modal width

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

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

@ -107,7 +107,6 @@ const onClick = (row: Row) => {
:footer="null" :footer="null"
title="Child list" title="Child list"
:body-style="{ padding: 0 }" :body-style="{ padding: 0 }"
width="400px"
wrap-class-name="nc-modal-child-list" wrap-class-name="nc-modal-child-list"
> >
<div class="max-h-[max(calc(100vh_-_300px)_,500px)] flex flex-col py-6"> <div class="max-h-[max(calc(100vh_-_300px)_,500px)] flex flex-col py-6">

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

@ -197,7 +197,6 @@ watch(vModel, (nextVal) => {
:title="$t('activity.linkRecord')" :title="$t('activity.linkRecord')"
:body-style="{ padding: 0 }" :body-style="{ padding: 0 }"
wrap-class-name="nc-modal-link-record" wrap-class-name="nc-modal-link-record"
width="400px"
> >
<div class="max-h-[max(calc(100vh_-_300px)_,500px)] flex flex-col py-6"> <div class="max-h-[max(calc(100vh_-_300px)_,500px)] flex flex-col py-6">
<div class="flex mb-4 items-center gap-2 px-12"> <div class="flex mb-4 items-center gap-2 px-12">

Loading…
Cancel
Save