aboutsummaryrefslogtreecommitdiff
path: root/frontend/src/components/Timeline.js
diff options
context:
space:
mode:
authorEmiliano Ciavatta2020-10-19 10:40:53 +0000
committerEmiliano Ciavatta2020-10-19 10:40:53 +0000
commit18287f888b0c3ae80422d4068c511614b55bfa6d (patch)
tree1afb5eab88efeee79a6b4a37aef1ce0061af89b5 /frontend/src/components/Timeline.js
parent3a96b841f06bb1049b0625c6d20e8f8f46c8f2ab (diff)
Add resizable layout
Diffstat (limited to 'frontend/src/components/Timeline.js')
-rw-r--r--frontend/src/components/Timeline.js2
1 files changed, 1 insertions, 1 deletions
diff --git a/frontend/src/components/Timeline.js b/frontend/src/components/Timeline.js
index 9ecbd80..5443a3b 100644
--- a/frontend/src/components/Timeline.js
+++ b/frontend/src/components/Timeline.js
@@ -256,7 +256,7 @@ class Timeline extends Component {
enablePanZoom={true} utc={false}
onTimeRangeChanged={this.handleTimeRangeChange}>
- <ChartRow height="125">
+ <ChartRow height={this.props.height - 70}>
<YAxis id="axis1" hideAxisLine
min={this.aggregateSeries("min")}
max={this.aggregateSeries("max")} width="35" type="linear" transition={300}/>