Skip to content

Commit b5b9248

Browse files
committed
#1578: Fixed weird Grid Item expanding bug
1 parent 676c578 commit b5b9248

1 file changed

Lines changed: 10 additions & 2 deletions

File tree

src/frontend/src/pages/FinancePage/ReimbursementRequestForm/ReimbursementFormView.tsx

Lines changed: 10 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -142,8 +142,16 @@ const ReimbursementRequestFormView: React.FC<ReimbursementRequestFormViewProps>
142142
</Snackbar>
143143
)}
144144
<Grid container spacing={2}>
145-
<Grid item container maxHeight={375} mb={5} spacing={2} md={6} xs={12}>
146-
<Grid item xs={12}>
145+
<Grid
146+
item
147+
container
148+
maxHeight={375}
149+
spacing={2}
150+
md={6}
151+
xs={12}
152+
sx={{ '&.MuiGrid-item': { height: 'fit-content' }, mb: 5 }}
153+
>
154+
<Grid item xs={12} sx={{}}>
147155
<FormControl fullWidth>
148156
<FormLabel>Purchased From</FormLabel>
149157
<Controller

0 commit comments

Comments
 (0)