Merge branch '16245-horizontal-scroll-bar-is-at-the-bottom-of-the-page-instead-of...
authorDaniel Kutyła <daniel.kutyla@contractors.roche.com>
Wed, 15 Jul 2020 15:51:44 +0000 (17:51 +0200)
committerDaniel Kutyła <daniel.kutyla@contractors.roche.com>
Wed, 15 Jul 2020 15:51:44 +0000 (17:51 +0200)
Closes #16245

Arvados-DCO-1.1-Signed-off-by: Daniel Kutyła <daniel.kutyla@contractors.roche.com>

src/components/data-table/data-table.tsx

index 3fac4c4dbdc7f18bec71ef6466e7f4fa63513cfb..4e2b430ab74f1249b4af0b84ebff0f3cdf4aedb8 100644 (file)
@@ -40,7 +40,8 @@ type CssRules = "tableBody" | "root" | "content" | "noItemsInfo" | 'tableCell' |
 const styles: StyleRulesCallback<CssRules> = (theme: Theme) => ({
     root: {
         overflowX: 'auto',
-        overflowY: 'hidden'
+        overflowY: 'auto',
+        height: 'calc(100vh - 280px)',
     },
     content: {
         display: 'inline-block',