From: Daniel Kutyła Date: Tue, 14 Jul 2020 19:55:05 +0000 (+0200) Subject: 16245: added calculated height and overflow y scroll to data table X-Git-Tag: 2.1.0~20^2 X-Git-Url: https://git.arvados.org/arvados-workbench2.git/commitdiff_plain/4cf9fab2518ea3e8ec2b42d4be53caf82ab18915 16245: added calculated height and overflow y scroll to data table Arvados-DCO-1.1-Signed-off-by: Daniel Kutyła --- diff --git a/src/components/data-table/data-table.tsx b/src/components/data-table/data-table.tsx index 3fac4c4d..4e2b430a 100644 --- a/src/components/data-table/data-table.tsx +++ b/src/components/data-table/data-table.tsx @@ -40,7 +40,8 @@ type CssRules = "tableBody" | "root" | "content" | "noItemsInfo" | 'tableCell' | const styles: StyleRulesCallback = (theme: Theme) => ({ root: { overflowX: 'auto', - overflowY: 'hidden' + overflowY: 'auto', + height: 'calc(100vh - 280px)', }, content: { display: 'inline-block',