Fix Plotly display issues
This commit is contained in:
parent
f70fe8e225
commit
901ed3f9c0
@ -1,4 +1,4 @@
|
|||||||
.js-plotly-plot {
|
/* .js-plotly-plot {
|
||||||
width: 100%;
|
width: 100%;
|
||||||
height: 100%;
|
height: 100%;
|
||||||
}
|
}
|
||||||
@ -16,4 +16,4 @@
|
|||||||
.plotly .svg-container {
|
.plotly .svg-container {
|
||||||
width: 100% !important;
|
width: 100% !important;
|
||||||
height: 100% !important;
|
height: 100% !important;
|
||||||
}
|
} */
|
@ -312,6 +312,7 @@ const VectorVisualizer: React.FC<VectorVisualizerProps> = (props: VectorVisualiz
|
|||||||
<Box className="VectorVisualizer"
|
<Box className="VectorVisualizer"
|
||||||
sx={{
|
sx={{
|
||||||
display: 'flex',
|
display: 'flex',
|
||||||
|
position: 'relative',
|
||||||
flexDirection: 'column',
|
flexDirection: 'column',
|
||||||
flexGrow: 1,
|
flexGrow: 1,
|
||||||
...sx
|
...sx
|
||||||
@ -324,12 +325,13 @@ const VectorVisualizer: React.FC<VectorVisualizerProps> = (props: VectorVisualiz
|
|||||||
</Typography>
|
</Typography>
|
||||||
</Card>
|
</Card>
|
||||||
}
|
}
|
||||||
<FormControlLabel sx={{
|
<FormControlLabel
|
||||||
display: "inline-flex",
|
sx={{
|
||||||
|
display: "flex",
|
||||||
|
position: "absolute",
|
||||||
width: "fit-content",
|
width: "fit-content",
|
||||||
mb: '-2.5rem',
|
|
||||||
zIndex: 100,
|
|
||||||
ml: 1,
|
ml: 1,
|
||||||
|
zIndex: 100,
|
||||||
flexBasis: 0,
|
flexBasis: 0,
|
||||||
flexGrow: 0
|
flexGrow: 0
|
||||||
}}
|
}}
|
||||||
@ -360,8 +362,6 @@ const VectorVisualizer: React.FC<VectorVisualizerProps> = (props: VectorVisualiz
|
|||||||
style={{
|
style={{
|
||||||
display: "flex",
|
display: "flex",
|
||||||
flexGrow: 1,
|
flexGrow: 1,
|
||||||
justifyContent: 'center',
|
|
||||||
alignItems: 'center',
|
|
||||||
minHeight: '240px',
|
minHeight: '240px',
|
||||||
padding: 0,
|
padding: 0,
|
||||||
margin: 0,
|
margin: 0,
|
||||||
|
Loading…
x
Reference in New Issue
Block a user