From 31a832f2337c222cd3c3176a537da250a57bc283 Mon Sep 17 00:00:00 2001 From: sreehari jayaraj Date: Thu, 28 Sep 2023 16:00:28 +0530 Subject: [PATCH] fix: auto sizing text area --- packages/nc-gui/components/cell/Checkbox.vue | 22 ++++++++++--------- .../nc-gui/components/smartsheet/Form.vue | 2 ++ 2 files changed, 14 insertions(+), 10 deletions(-) diff --git a/packages/nc-gui/components/cell/Checkbox.vue b/packages/nc-gui/components/cell/Checkbox.vue index 0a791e17d0..50b48df216 100644 --- a/packages/nc-gui/components/cell/Checkbox.vue +++ b/packages/nc-gui/components/cell/Checkbox.vue @@ -89,16 +89,18 @@ useSelectedCellKeyupListener(active, (e) => { }" @click="onClick(false, $event)" > -
- - - +
+
+ + + +
diff --git a/packages/nc-gui/components/smartsheet/Form.vue b/packages/nc-gui/components/smartsheet/Form.vue index 0361929b0a..16fc500f54 100644 --- a/packages/nc-gui/components/smartsheet/Form.vue +++ b/packages/nc-gui/components/smartsheet/Form.vue @@ -556,6 +556,7 @@ watch(view, (nextView) => { 'max-height': '250px', 'resize': 'vertical', }" + autosize size="large" hide-details placeholder="Form Title" @@ -581,6 +582,7 @@ watch(view, (nextView) => { 'resize': 'vertical', }" size="large" + autosize hide-details :placeholder="$t('msg.info.formDesc')" :bordered="false"