From 9b045b11873fcf68e914cfb0f153af0148774531 Mon Sep 17 00:00:00 2001 From: Colin Megill Date: Sun, 26 Nov 2017 23:17:14 -0800 Subject: [PATCH] make parallel fixed width at 1200 for now --- src/components/continuous/util.js | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/src/components/continuous/util.js b/src/components/continuous/util.js index 788fc3d0..9f69f4f1 100644 --- a/src/components/continuous/util.js +++ b/src/components/continuous/util.js @@ -1,9 +1,10 @@ import _ from "lodash"; const paddingRight = 120; +const continuousChartWidth = 1200; export const margin = {top: 66, right: 110, bottom: 20, left: 60}; -export const width = document.body.clientWidth - margin.left - margin.right - paddingRight; +export const width = continuousChartWidth - margin.left - margin.right - paddingRight; export const height = 340 - margin.top - margin.bottom; export const innerHeight = height - 2;