summaryrefslogtreecommitdiff
path: root/client/table/file.table.js
diff options
context:
space:
mode:
authorAdam Harvey <adam@ahprojects.com>2019-04-03 14:35:41 +0200
committerAdam Harvey <adam@ahprojects.com>2019-04-03 14:35:41 +0200
commit0224090a9dcc79de897871cfa573f99cf8f005a5 (patch)
treeec5967fa3d6ca197af1ac12092fe168fdf499d48 /client/table/file.table.js
parent04677d60e9e867a6d02fa2c99f07f83dff6e6005 (diff)
parentdf707e4316c79375499974fb2a3443f1c049b93c (diff)
.
Diffstat (limited to 'client/table/file.table.js')
-rw-r--r--client/table/file.table.js2
1 files changed, 1 insertions, 1 deletions
diff --git a/client/table/file.table.js b/client/table/file.table.js
index 82c01ac5..db53243a 100644
--- a/client/table/file.table.js
+++ b/client/table/file.table.js
@@ -71,7 +71,7 @@ class FileTable extends Component {
columns={this.state.columns}
data={this.state.data}
options={{
- height: 311,
+ height: Math.min(37 * this.state.data.length + 29, 311),
layout: 'fitColumns',
placeholder: 'No Data Set',
}}