π₯ π₯ π₯ A Free & Self-hostable Airtable Alternative
TypeScript airtableairtable-alternativeautomatic-apihacktoberfestlow-codeno-codeno-code-databaseno-code-platformpostgresqlrest-apirestful-apispreadsheetsqliteswagger
fix(nc-gui): button alignment issue in expanded form
Ramesh Mane464d7cdbe2f9
diff --git a/packages/nc-gui/components/cell/AI.vue b/packages/nc-gui/components/cell/AI.vueindex 30e401c435..c1971526a3 100644--- a/packages/nc-gui/components/cell/AI.vue+++ b/packages/nc-gui/components/cell/AI.vue@@ -223,5 +223,9 @@ const isDisabledAiButton = computed(() => {box-shadow: none !important;}}++ &:has(.nc-cell-ai-button.is-expanded-form) {+ @apply -mt-1 -ml-1;+ }}</style>diff --git a/packages/nc-gui/components/cell/attachment/index.vue b/packages/nc-gui/components/cell/attachment/index.vueindex 74e9addbbc..93a1e83950 100644--- a/packages/nc-gui/components/cell/attachment/index.vue+++ b/packages/nc-gui/components/cell/attachment/index.vue@@ -545,11 +545,6 @@ onUnmounted(() => {}}- &:has(.nc-cell-ai-button.is-expanded-form),- &:has(.nc-cell-button.is-expanded-form) {- @apply -mt-1 -ml-1;- }-.nc-cell-attachment {@apply !border-none;}diff --git a/packages/nc-gui/components/smartsheet/Cell.vue b/packages/nc-gui/components/smartsheet/Cell.vueindex 582b9018bb..b80382e5aa 100644--- a/packages/nc-gui/components/smartsheet/Cell.vue+++ b/packages/nc-gui/components/smartsheet/Cell.vue@@ -312,7 +312,7 @@ const cellClassName = computed(() => {@keydown.shift.enter.exact="navigate(NavigateDir.PREV, $event)"><template v-if="column">- <div v-if="isGenerating" class="flex items-center gap-2 w-full">+ <div v-if="isGenerating" class="nc-cell-field flex items-center gap-2 w-full"><GeneralLoader /><NcTooltip class="truncate max-w-[calc(100%_-_24px)]" show-on-truncate-only><template #title> {{ $t('general.generating') }} </template>diff --git a/packages/nc-gui/components/virtual-cell/Button.vue b/packages/nc-gui/components/virtual-cell/Button.vueindex 9c5716d406..a0bc236a93 100644--- a/packages/nc-gui/components/virtual-cell/Button.vue+++ b/packages/nc-gui/components/virtual-cell/Button.vue@@ -311,6 +311,10 @@ const triggerAction = async () => {}}+ &:has(.nc-cell-button.is-expanded-form) {+ @apply -mt-1 -ml-1;+ }+.nc-cell-attachment {@apply !border-none;}