diff options
author | srichman333 <sarah_n_richman@brown.edu> | 2023-10-10 17:03:59 -0400 |
---|---|---|
committer | srichman333 <sarah_n_richman@brown.edu> | 2023-10-10 17:03:59 -0400 |
commit | d7575adcb5facc1e527b5e15a7c634aaa28a4831 (patch) | |
tree | 0fd93c1f27c01c9e68bba7043906ea49cf4057aa | |
parent | 9e91e6065333f03d3f3bf2c0d43b822d85344c78 (diff) |
merged
-rw-r--r-- | src/client/views/nodes/DataVizBox/DataVizBox.tsx | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/client/views/nodes/DataVizBox/DataVizBox.tsx b/src/client/views/nodes/DataVizBox/DataVizBox.tsx index 903b3b9d0..9330e3b7f 100644 --- a/src/client/views/nodes/DataVizBox/DataVizBox.tsx +++ b/src/client/views/nodes/DataVizBox/DataVizBox.tsx @@ -235,7 +235,7 @@ export class DataVizBox extends ViewBoxAnnotatableComponent<FieldViewProps>() { records: this.records, axes: this.axes, height: (this.props.PanelHeight() - 32) /* height of 'change view' button */ * 0.9, - width: this.props.PanelWidth() * 0.9, + width: this.SidebarShown? this.props.PanelWidth()*.9/1.2: this.props.PanelWidth() * 0.9, margin: { top: 10, right: 25, bottom: 75, left: 45 }, }; if (!this.records.length) return 'no data/visualization'; |