From 4cf9fab2518ea3e8ec2b42d4be53caf82ab18915 Mon Sep 17 00:00:00 2001 From: =?utf8?q?Daniel=20Kuty=C5=82a?= Date: Tue, 14 Jul 2020 21:55:05 +0200 Subject: [PATCH] 16245: added calculated height and overflow y scroll to data table MIME-Version: 1.0 Content-Type: text/plain; charset=utf8 Content-Transfer-Encoding: 8bit Arvados-DCO-1.1-Signed-off-by: Daniel Kutyła --- src/components/data-table/data-table.tsx | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) 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', -- 2.30.2