From 7d880e1e6d553e3c3f08a49baf764ff6b122d096 Mon Sep 17 00:00:00 2001 From: Pranav C Date: Tue, 6 Jun 2023 18:20:26 +0530 Subject: [PATCH] fix: make the add icon in the grid horizontally sticky Signed-off-by: Pranav C --- .../nc-gui/components/smartsheet/Grid.vue | 19 ++++++++++--------- 1 file changed, 10 insertions(+), 9 deletions(-) diff --git a/packages/nc-gui/components/smartsheet/Grid.vue b/packages/nc-gui/components/smartsheet/Grid.vue index f1e92c0322..2c529d4618 100644 --- a/packages/nc-gui/components/smartsheet/Grid.vue +++ b/packages/nc-gui/components/smartsheet/Grid.vue @@ -815,7 +815,7 @@ const deleteSelectedRangeOfRows = () => { } function addEmptyRow(row?: number) { - const rowObj = _addEmptyRow(row); + const rowObj = _addEmptyRow(row) nextTick().then(() => { makeActive(row ?? data.value.length - 1, 0) scrollToCell?.() @@ -1022,18 +1022,19 @@ function addEmptyRow(row?: number) { - - + +
+