mirror of
https://github.com/chanzuckerberg/cellxgene.git
synced 2026-10-07 05:18:12 +08:00
add classnames to canvases
This commit is contained in:
@@ -78,6 +78,7 @@ export default class MiniHistogram extends React.PureComponent {
|
|||||||
height,
|
height,
|
||||||
borderBottom: "solid rgb(230, 230, 230) 0.25px",
|
borderBottom: "solid rgb(230, 230, 230) 0.25px",
|
||||||
}}
|
}}
|
||||||
|
className="mini-histo"
|
||||||
width={width}
|
width={width}
|
||||||
height={height}
|
height={height}
|
||||||
ref={this.canvasRef}
|
ref={this.canvasRef}
|
||||||
|
|||||||
@@ -63,6 +63,7 @@ export default class MiniStackedBar extends React.PureComponent {
|
|||||||
width,
|
width,
|
||||||
height,
|
height,
|
||||||
}}
|
}}
|
||||||
|
className="mini-stacked-bar-canvas"
|
||||||
width={width}
|
width={width}
|
||||||
height={height}
|
height={height}
|
||||||
ref={this.canvasRef}
|
ref={this.canvasRef}
|
||||||
|
|||||||
@@ -502,6 +502,7 @@ class Scatterplot extends React.PureComponent {
|
|||||||
width={width}
|
width={width}
|
||||||
height={height}
|
height={height}
|
||||||
data-testid="scatterplot"
|
data-testid="scatterplot"
|
||||||
|
className="scatterplot-canvas"
|
||||||
style={{
|
style={{
|
||||||
marginLeft: margin.left,
|
marginLeft: margin.left,
|
||||||
marginTop: margin.top,
|
marginTop: margin.top,
|
||||||
|
|||||||
Reference in New Issue
Block a user