From 0508bbd115263c81337599c35088d809c741553a Mon Sep 17 00:00:00 2001 From: vicky-primathon <67091118+vicky-primathon@users.noreply.github.com> Date: Fri, 30 Oct 2020 16:18:57 +0530 Subject: [PATCH] Query table scroll issue fixed (#1464) * Query table scroll issue fixed * Table widget horizontal scroll fix --- app/client/src/pages/Editor/QueryEditor/Table.tsx | 8 +++++--- 1 file changed, 5 insertions(+), 3 deletions(-) diff --git a/app/client/src/pages/Editor/QueryEditor/Table.tsx b/app/client/src/pages/Editor/QueryEditor/Table.tsx index b203296947..7f771b0e17 100644 --- a/app/client/src/pages/Editor/QueryEditor/Table.tsx +++ b/app/client/src/pages/Editor/QueryEditor/Table.tsx @@ -15,7 +15,7 @@ interface TableProps { const StyledTableWrapped = styled(TableWrapper)` min-height: 0px; - height: auto; + height: 100%; .tableWrap { display: flex; flex: 1; @@ -24,9 +24,11 @@ const StyledTableWrapped = styled(TableWrapper)` display: flex; flex: 1; flex-direction: column; - height: auto; + height: 100%; + display: table; + width: 100%; .tbody { - height: auto; + height: 100%; overflow: auto; } }