[ARVADOS-WORKBENCH2] created: 1.4.1-389-gf7a8f7aa

Git user git at public.arvados.org
Tue Jul 14 19:56:23 UTC 2020


        at  f7a8f7aaab7d7551ecea05aef13b9be1a020b200 (commit)


commit f7a8f7aaab7d7551ecea05aef13b9be1a020b200
Author: Daniel Kutyła <daniel.kutyla at contractors.roche.com>
Date:   Tue Jul 14 21:55:05 2020 +0200

    16245: added calculated height and overflow y scroll to data table
    
    Arvados-DCO-1.1-Signed-off-by: Daniel Kutyła <daniel.kutyla at contractors.roche.com>

diff --git a/src/components/data-table/data-table.tsx b/src/components/data-table/data-table.tsx
index 3fac4c4d..0c696e4a 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<CssRules> = (theme: Theme) => ({
     root: {
         overflowX: 'auto',
-        overflowY: 'hidden'
+        overflowY: 'scroll',
+        height: 'calc(100vh - 280px)',
     },
     content: {
         display: 'inline-block',

-----------------------------------------------------------------------


hooks/post-receive
-- 




More information about the arvados-commits mailing list