From c9ff7fd9babb9dd851eb5eca2cb5e7719657cd5a Mon Sep 17 00:00:00 2001 From: sreehari jayaraj Date: Sat, 30 Sep 2023 12:39:17 +0530 Subject: [PATCH] fix: ui form --- packages/nc-gui/components/cell/TextArea.vue | 8 +++++++- packages/nc-gui/components/smartsheet/Cell.vue | 4 ++-- packages/nc-gui/components/smartsheet/Form.vue | 2 +- packages/nc-gui/components/smartsheet/header/Cell.vue | 6 +++--- 4 files changed, 13 insertions(+), 7 deletions(-) diff --git a/packages/nc-gui/components/cell/TextArea.vue b/packages/nc-gui/components/cell/TextArea.vue index 60fd3804db..aa893d4292 100644 --- a/packages/nc-gui/components/cell/TextArea.vue +++ b/packages/nc-gui/components/cell/TextArea.vue @@ -28,6 +28,8 @@ const isEditColumn = inject(EditColumnInj, ref(false)) const rowHeight = inject(RowHeightInj, ref(1 as const)) +const isForm = inject(IsFormInj, ref(false)) + const { showNull } = useGlobal() const vModel = useVModel(props, 'modelValue', emits, { defaultValue: '' }) @@ -72,6 +74,7 @@ onClickOutside(inputWrapperRef, (e) => { :class="{ 'min-h-10': rowHeight !== 1, 'min-h-6.5': rowHeight === 1, + 'h-full': isForm, }" >