Skip to content

Commit d96927c

Browse files
committed
rename class names and container names for both d3 charts to mirror each other
1 parent 041ffa0 commit d96927c

File tree

3 files changed

+3
-3
lines changed

3 files changed

+3
-3
lines changed

src/app/components/Chart.jsx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -209,7 +209,7 @@ class Chart extends Component {
209209
render() {
210210
return (
211211
<div className="history-d3-container">
212-
<div ref={this.chartRef} className="d3Container" />
212+
<div ref={this.chartRef} className="history-d3-div" />
213213
</div>
214214
);
215215
}

src/app/components/PerfView.jsx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -141,7 +141,7 @@ const PerfView = ({ snapshots, viewIndex, width = 600, height = 600 }) => {
141141
}, [colorScale, packFunc, width, height, indexToDisplay, snapshots]);
142142

143143
return (
144-
<div className="perfContainer">
144+
<div className="perf-d3-container">
145145
<svg className="perf-d3-svg" ref={svgRef} />
146146
{/* <span>TEST</span> */}
147147
</div>

src/app/styles/components/d3graph.css

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -101,7 +101,7 @@ div.tooltip {
101101
/* border: 2px solid red; */
102102
}
103103

104-
.perfContainer {
104+
.perf-d3-container {
105105
display: flex;
106106
flex-direction: column;
107107
justify-content: space-between;

0 commit comments

Comments
 (0)