Skip to content

Commit d1896a5

Browse files
committed
fixed overshrinking of the component boxes when resizing horizontally
1 parent 2785633 commit d1896a5

File tree

2 files changed

+4
-2
lines changed

2 files changed

+4
-2
lines changed

src/components/LeftColExpansionPanel.tsx

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -65,8 +65,9 @@ const LeftColExpansionPanel = (props: LeftColExpPanPropsInt) => {
6565
container
6666
spacing={16}
6767
direction="row"
68-
justify="flex-start"
68+
justify="center"
6969
alignItems="center"
70+
style={{ minWidth: '320px' }}
7071
>
7172
<Grid item xs={9}>
7273
<div
@@ -90,6 +91,7 @@ const LeftColExpansionPanel = (props: LeftColExpPanPropsInt) => {
9091
color: 'red',
9192
backgroundColor: color,
9293
borderRadius: '10px',
94+
minWidth: '320px',
9395
}}
9496
>
9597
<List style={{ color: 'red' }}>

src/containers/LeftContainer.tsx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -250,7 +250,7 @@ class LeftContainer extends Component<LeftContPropsInt, StateInt> {
250250
const { addImage } = this;
251251

252252
return (
253-
<div className="column left">
253+
<div className="column left" style={{ minWidth: '466px' }}>
254254
<Grid
255255
container
256256
spacing={8}

0 commit comments

Comments
 (0)