diff --git a/app/client/src/pages/Editor/QueryEditor/Form.tsx b/app/client/src/pages/Editor/QueryEditor/Form.tsx index f86d5dde89..419868ff84 100644 --- a/app/client/src/pages/Editor/QueryEditor/Form.tsx +++ b/app/client/src/pages/Editor/QueryEditor/Form.tsx @@ -33,7 +33,6 @@ import { EditorSize, } from "components/editorComponents/CodeEditor/EditorConfig"; import CollapsibleHelp from "components/designSystems/appsmith/help/CollapsibleHelp"; -import { HelpBaseURL, HelpMap } from "constants/HelpConstants"; import { getPluginResponseTypes, getPluginDocumentationLinks, diff --git a/app/client/src/pages/Editor/QueryEditor/Table.tsx b/app/client/src/pages/Editor/QueryEditor/Table.tsx index 5f69de7c76..2d169b64ae 100644 --- a/app/client/src/pages/Editor/QueryEditor/Table.tsx +++ b/app/client/src/pages/Editor/QueryEditor/Table.tsx @@ -10,21 +10,20 @@ interface TableProps { data: Record[]; } -/* - * 310 = height of the table header + rest of the items (excluding editor height) - * 100vh /4 = height of the editor - */ const StyledTableWrapped = styled(TableWrapper)` - width: 100%; + min-height: 0px; height: auto; - font-size: 14px; + .tableWrap { + display: flex; + flex: 1; + } .table { + display: flex; + flex: 1; + flex-direction: column; + height: auto; .tbody { overflow: auto; - height: auto; - max-height: calc( - 100vh - (100vh / 4) - 310px - ${props => props.theme.headerHeight} - ); } } `;