From 9d4d7a043414b8004ef19e487f67fe060362a33c Mon Sep 17 00:00:00 2001 From: Pranav C Date: Thu, 21 Oct 2021 12:20:31 +0530 Subject: [PATCH] feat: public grid view height adjustment Signed-off-by: Pranav C --- .../project/spreadsheet/public/xcTable.vue | 30 +++++++------------ .../nocodb/src/lib/noco/meta/NcMetaMgr.ts | 2 +- .../nocodb/src/lib/noco/meta/NcMetaMgrEE.ts | 4 +-- 3 files changed, 13 insertions(+), 23 deletions(-) diff --git a/packages/nc-gui/components/project/spreadsheet/public/xcTable.vue b/packages/nc-gui/components/project/spreadsheet/public/xcTable.vue index fa39cbc20b..7299b247b2 100644 --- a/packages/nc-gui/components/project/spreadsheet/public/xcTable.vue +++ b/packages/nc-gui/components/project/spreadsheet/public/xcTable.vue @@ -121,12 +121,12 @@
-
+
{ - return { - readOnly: col.ai, - type: typeof this.data[0][col._cn], - title: col._cn, - width: '150px' - } - }), { - type: 'hidden', - key: '' - }] - } - } this.searchField = this.primaryValueColumn }, created() { @@ -706,6 +688,14 @@ export default { justify-content: center; } +.nc-grid-wrapper{ + height:calc(100vh - 120px) +} + +.nc-grid{ + height: calc(100% - 34px) +} +