Browse Source

fix: added text truncation

pull/6486/head
sreehari jayaraj 1 year ago
parent
commit
ee8a7f524d
  1. 2
      packages/nc-gui/components/smartsheet/expanded-form/index.vue
  2. 4
      packages/nc-gui/components/virtual-cell/components/Header.vue

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

@ -317,7 +317,6 @@ useActiveKeyupListener(
)
const showDeleteRowModal = ref(false)
const isDeleteHappening = ref(false)
const onDeleteRowClick = () => {
showDeleteRowModal.value = true
@ -338,7 +337,6 @@ const onConfirmDeleteRowClick = async () => {
onClose()
} finally {
showDeleteRowModal.value = false
isDeleteHappening.value = false
}
}

4
packages/nc-gui/components/virtual-cell/components/Header.vue

@ -59,7 +59,9 @@ const relationMeta = computed(() => {
<div class="flex justify-end">
<div class="flex flex-shrink-0 rounded-md gap-1 text-brand-500 items-center bg-gray-100 px-2 py-1">
<FileIcon class="w-4 h-4" />
{{ displayValue }}
<GeneralTruncateText placement="top" length="25">
{{ displayValue }}
</GeneralTruncateText>
</div>
</div>
<NcTooltip class="flex-shrink-0">

Loading…
Cancel
Save