Skip to content

Commit a0eddce

Browse files
committed
change Box to div to fix resizing issues
1 parent 5f2730c commit a0eddce

1 file changed

Lines changed: 5 additions & 5 deletions

File tree

apps/visr/src/components/spectroscopy/RawSpectroscopyData.tsx

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -108,11 +108,11 @@ function RawSpectroscopyData({
108108
const plots = useMemo(
109109
() =>
110110
CHANNELS.map(({ key }, i) => (
111-
<Box
111+
<div
112112
key={i}
113-
sx={{
114-
display: "flex",
115-
width: "100%",
113+
style={{
114+
flex: 1,
115+
// backgroundColor: "blue",
116116
justifyContent: "center",
117117
}}
118118
>
@@ -124,7 +124,7 @@ function RawSpectroscopyData({
124124
values={channels[key] ?? EMPTY_NDT}
125125
//tightAxes
126126
/>
127-
</Box>
127+
</div>
128128
)),
129129
[channels],
130130
);

0 commit comments

Comments
 (0)