Browse Source

fix : UI improvements

pull/3082/head
Naveen MR 2 years ago
parent
commit
bf46248fd6
  1. 2
      packages/nc-gui-v2/components/smartsheet/expanded-form/index.vue
  2. 2
      packages/nc-gui-v2/components/virtual-cell/components/ListChildItems.vue

2
packages/nc-gui-v2/components/smartsheet/expanded-form/index.vue

@ -86,7 +86,7 @@ const isExpanded = useVModel(props, 'modelValue', emits)
<div class="flex h-full nc-form-wrapper items-stretch"> <div class="flex h-full nc-form-wrapper items-stretch">
<div class="flex-grow overflow-auto scrollbar-thin-primary"> <div class="flex-grow overflow-auto scrollbar-thin-primary">
<div class="w-[500px] mx-auto"> <div class="w-[500px] mx-auto">
<div v-for="col in fields" :key="col.title" class="mt-2"> <div v-for="col in fields" :key="col.title" class="mt-2 py-2">
<SmartsheetHeaderVirtualCell v-if="isVirtualCol(col)" :column="col" /> <SmartsheetHeaderVirtualCell v-if="isVirtualCol(col)" :column="col" />
<SmartsheetHeaderCell v-else :column="col" /> <SmartsheetHeaderCell v-else :column="col" />

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

@ -67,7 +67,7 @@ const expandedFormRow = ref()
<a-button type="primary" ghost class="!text-xs" size="small" @click="emit('attachRecord')"> <a-button type="primary" ghost class="!text-xs" size="small" @click="emit('attachRecord')">
<div class="flex align-center gap-1"> <div class="flex align-center gap-1">
<MdiLinkVariantRemove class="text-xs text-white" @click="unlinkRow(row)" /> <MdiLinkVariantRemove class="text-xs" type="primary" @click="unlinkRow(row)" />
Link to '{{ meta.title }}' Link to '{{ meta.title }}'
</div> </div>
</a-button> </a-button>

Loading…
Cancel
Save