Skip to content

Commit f24e683

Browse files
committed
#1578: Removed reciept scroll and max height and padding on left container
1 parent b5b9248 commit f24e683

1 file changed

Lines changed: 2 additions & 10 deletions

File tree

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

Lines changed: 2 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -103,7 +103,7 @@ const ReimbursementRequestFormView: React.FC<ReimbursementRequestFormViewProps>
103103
const ReceiptFileInput = () => (
104104
<FormControl>
105105
<FormLabel>Receipts</FormLabel>
106-
<ul style={{ maxHeight: 100, overflow: 'auto' }}>
106+
<ul>
107107
{receiptFiles.map((receiptFile, index) => (
108108
<li key={index}>
109109
<Stack key={index} direction="row" justifyContent="space-between">
@@ -142,15 +142,7 @@ const ReimbursementRequestFormView: React.FC<ReimbursementRequestFormViewProps>
142142
</Snackbar>
143143
)}
144144
<Grid container spacing={2}>
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-
>
145+
<Grid item container spacing={2} md={6} xs={12} sx={{ '&.MuiGrid-item': { height: 'fit-content' } }}>
154146
<Grid item xs={12} sx={{}}>
155147
<FormControl fullWidth>
156148
<FormLabel>Purchased From</FormLabel>

0 commit comments

Comments
 (0)