projects
/
arvados-workbench2.git
/ blobdiff
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
16245: added calculated height and overflow y scroll to data table
[arvados-workbench2.git]
/
src
/
components
/
data-table
/
data-table.tsx
diff --git
a/src/components/data-table/data-table.tsx
b/src/components/data-table/data-table.tsx
index 3fac4c4dbdc7f18bec71ef6466e7f4fa63513cfb..4e2b430ab74f1249b4af0b84ebff0f3cdf4aedb8 100644
(file)
--- 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: 'auto',
+ height: 'calc(100vh - 280px)',
},
content: {
display: 'inline-block',