π₯ π₯ π₯ A Free & Self-hostable Airtable Alternative
TypeScript airtableairtable-alternativeautomatic-apihacktoberfestlow-codeno-codeno-code-databaseno-code-platformpostgresqlrest-apirestful-apispreadsheetsqliteswagger
fix(nc-gui): increase preview thumbnail icon size in preview attachment modal
Ramesh Mane5581b0ff6fd9
diff --git a/packages/nc-gui/components/cell/attachment/Card.vue b/packages/nc-gui/components/cell/attachment/Card.vueindex c7058a816e..7d2b4eb70a 100644--- a/packages/nc-gui/components/cell/attachment/Card.vue+++ b/packages/nc-gui/components/cell/attachment/Card.vue@@ -13,6 +13,8 @@ const props = withDefaults(previewClassOverride?: stringrenameInline?: booleanconfirmToDelete?: boolean+ iconWidth?: number+ iconHeight?: number}>(),{selected: false,@@ -108,6 +110,8 @@ const handleFileDeleteStart = () => {:class="previewClassOverride ? `${previewClassOverride}` : ''"object-fit="contain"class="!w-full !m-0 rounded-t-[5px] justify-center"+ :icon-height="iconHeight"+ :icon-width="iconWidth"/></div>diff --git a/packages/nc-gui/components/cell/attachment/Modal.vue b/packages/nc-gui/components/cell/attachment/Modal.vueindex d5baf676e1..57ba2ed07a 100644--- a/packages/nc-gui/components/cell/attachment/Modal.vue+++ b/packages/nc-gui/components/cell/attachment/Modal.vue@@ -158,6 +158,8 @@ const isNewAttachmentModalOpen = ref(false):allow-selection="true":allow-rename="!isSharedForm || (!readOnly && isUIAllowed('dataEdit') && !isPublic)":allow-delete="!readOnly"+ :icon-height="72"+ :icon-width="72"@clicked="onClick(item)"/><div v-if="isLoading" class="flex flex-col gap-1">