diff --git a/packages/nc-gui/assets/img/brand/nocodb-logo.svg b/packages/nc-gui/assets/img/brand/nocodb-logo.svg new file mode 100644 index 0000000000..7d18941552 --- /dev/null +++ b/packages/nc-gui/assets/img/brand/nocodb-logo.svg @@ -0,0 +1,20 @@ + + + + + + + + + + + + + + \ No newline at end of file diff --git a/packages/nc-gui/assets/img/form-banner-left.png b/packages/nc-gui/assets/img/form-banner-left.png new file mode 100644 index 0000000000..793bd374fb Binary files /dev/null and b/packages/nc-gui/assets/img/form-banner-left.png differ diff --git a/packages/nc-gui/assets/img/form-banner-right.png b/packages/nc-gui/assets/img/form-banner-right.png new file mode 100644 index 0000000000..09360b21d3 Binary files /dev/null and b/packages/nc-gui/assets/img/form-banner-right.png differ diff --git a/packages/nc-gui/assets/style.scss b/packages/nc-gui/assets/style.scss index c4c43b762b..f3330b1469 100644 --- a/packages/nc-gui/assets/style.scss +++ b/packages/nc-gui/assets/style.scss @@ -613,7 +613,7 @@ a { } .nc-click-transition { - @apply transform transition-transform transition-color !text-gray-400 !hover:(scale-130 !text-gray-500) !active:(scale-100 !text-gray-500); + @apply transform transition-transform transition-colors !text-gray-400 !hover:(scale-130 !text-gray-500) !active:(scale-100 !text-gray-500); } .nc-click-transition-1 { diff --git a/packages/nc-gui/components/cell/Json.vue b/packages/nc-gui/components/cell/Json.vue index 027895e949..e39ff2e06c 100644 --- a/packages/nc-gui/components/cell/Json.vue +++ b/packages/nc-gui/components/cell/Json.vue @@ -185,6 +185,7 @@ watch(isExpanded, () => { :hide-minimap="true" :disable-deep-compare="true" @update:model-value="localValue = $event" + @keydown.enter.stop /> diff --git a/packages/nc-gui/components/cell/TextArea.vue b/packages/nc-gui/components/cell/TextArea.vue index 606fe8c549..42ee3a4a33 100644 --- a/packages/nc-gui/components/cell/TextArea.vue +++ b/packages/nc-gui/components/cell/TextArea.vue @@ -61,7 +61,7 @@ const mousePosition = ref< const isDragging = ref(false) const focus: VNodeRef = (el) => - !isExpandedFormOpen.value && !isEditColumn.value && isForm.value && (el as HTMLTextAreaElement)?.focus() + !isExpandedFormOpen.value && !isEditColumn.value && !isForm.value && (el as HTMLTextAreaElement)?.focus() const height = computed(() => { if (isExpandedFormOpen.value) return 36 * 4 @@ -226,7 +226,7 @@ watch(inputWrapperRef, () => { v-else-if="editEnabled && !isVisible" :ref="focus" v-model="vModel" - rows="4" + :rows="isForm ? 5 : 4" class="h-full w-full outline-none border-none nc-scrollbar-lg" :class="{ 'p-2': editEnabled, @@ -234,7 +234,7 @@ watch(inputWrapperRef, () => { 'px-2': isExpandedFormOpen, }" :style="{ - minHeight: `${height}px`, + minHeight: isForm ? '117px' : `${height}px`, }" :placeholder="isEditColumn ? $t('labels.optional') : ''" :disabled="readOnly" @@ -270,7 +270,7 @@ watch(inputWrapperRef, () => {