Browse Source

fix: lookup cell badge height issue

pull/7270/head
Ramesh Mane 11 months ago
parent
commit
8e580865f2
  1. 3
      packages/nc-gui/components/virtual-cell/Lookup.vue

3
packages/nc-gui/components/virtual-cell/Lookup.vue

@ -152,7 +152,7 @@ const { showEditNonEditableFieldWarning, showClearNonEditableFieldWarning, activ
}" }"
> >
<div <div
class="flex gap-1.5 w-full h-full py-[3px]" class="flex items-start gap-1.5 w-full h-full py-[3px]"
:class="{ :class="{
'flex-wrap': rowHeight !== 1 && !isAttachment(lookupColumn), 'flex-wrap': rowHeight !== 1 && !isAttachment(lookupColumn),
'!overflow-x-auto nc-cell-lookup-scroll nc-scrollbar-x-md !overflow-y-hidden': '!overflow-x-auto nc-cell-lookup-scroll nc-scrollbar-x-md !overflow-y-hidden':
@ -179,7 +179,6 @@ const { showEditNonEditableFieldWarning, showClearNonEditableFieldWarning, activ
:edit-enabled="false" :edit-enabled="false"
:virtual="true" :virtual="true"
:read-only="true" :read-only="true"
class=""
:class="{ :class="{
'min-h-0 min-w-0': isAttachment(lookupColumn), 'min-h-0 min-w-0': isAttachment(lookupColumn),
'!min-w-20 !w-auto pl-2': !isAttachment(lookupColumn), '!min-w-20 !w-auto pl-2': !isAttachment(lookupColumn),

Loading…
Cancel
Save