From 09fe05fc65fcf6ba1882df1b6add9d7042f716ec Mon Sep 17 00:00:00 2001
From: Ramesh Mane <101566080+rameshmane7218@users.noreply.github.com>
Date: Wed, 3 Jan 2024 07:10:36 +0000
Subject: [PATCH] feat: expand select option area in fromTableExplorer
nocodb/nocodb/issues/7236
---
packages/nc-gui/components/smartsheet/column/EditOrAdd.vue | 1 +
packages/nc-gui/components/smartsheet/column/SelectOptions.vue | 3 ++-
2 files changed, 3 insertions(+), 1 deletion(-)
diff --git a/packages/nc-gui/components/smartsheet/column/EditOrAdd.vue b/packages/nc-gui/components/smartsheet/column/EditOrAdd.vue
index 8e03ad9746..b038ecb2f7 100644
--- a/packages/nc-gui/components/smartsheet/column/EditOrAdd.vue
+++ b/packages/nc-gui/components/smartsheet/column/EditOrAdd.vue
@@ -344,6 +344,7 @@ if (props.fromTableExplorer) {
diff --git a/packages/nc-gui/components/smartsheet/column/SelectOptions.vue b/packages/nc-gui/components/smartsheet/column/SelectOptions.vue
index 0df0ed2c74..5f59c6be83 100644
--- a/packages/nc-gui/components/smartsheet/column/SelectOptions.vue
+++ b/packages/nc-gui/components/smartsheet/column/SelectOptions.vue
@@ -15,6 +15,7 @@ interface Option {
const props = defineProps<{
value: any
+ fromTableExplorer?: boolean
}>()
const emit = defineEmits(['update:value'])
@@ -308,7 +309,7 @@ const loadListData = async ($state: any) => {
ref="optionsWrapperDomRef"
class="nc-col-option-select-option overflow-x-auto scrollbar-thin-dull"
:style="{
- maxHeight: 'calc(min(30vh, 250px))',
+ maxHeight: props.fromTableExplorer ? 'calc(100vh - (var(--topbar-height) * 3.6) - 320px)' : 'calc(min(30vh, 250px))',
}"
>