summaryrefslogtreecommitdiff
path: root/client/table/file.table.js
diff options
context:
space:
mode:
authorJules Laplace <julescarbon@gmail.com>2019-04-02 15:50:01 +0200
committerJules Laplace <julescarbon@gmail.com>2019-04-02 15:50:01 +0200
commit9280b2ad356b7f0cda38f9e14eb91b89f076e9c1 (patch)
tree357d84e72fb65cffe8a9a6f6f42ddb097440f6c5 /client/table/file.table.js
parent087cf70c944c09c4d03f2fbcaf7c74718ccb5f8f (diff)
clamp citations height. add waypoint
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',
}}