Skip to content

Commit 65ee395

Browse files
committed
492: Styling
1 parent 124e592 commit 65ee395

File tree

3 files changed

+5
-10
lines changed

3 files changed

+5
-10
lines changed

src/client/src/pages/Admin/Admin.js

Lines changed: 3 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -118,16 +118,11 @@ export default function Admin(props) {
118118
<CircularProgress size={60}/>
119119
</Backdrop>
120120
: <Paper elevation={1} style={{"padding": "2em"}}>
121-
{statistics === 'Running' && <Alert severity="info">Execution is in Progress...</Alert>}
122-
<Box
123-
display="flex"
124-
justifyContent="space-between"
125-
flexDirection="row"
126-
style={{ padding: 20 }}
127-
>
121+
{statistics === 'Running' && <Alert severity="info">Execution is in Progress...</Alert>}
122+
<Grid container spacing={5} direction="row">
128123
<UploadBox filesInput={filesInput} handleUpload={handleUpload} lastUploads={lastUploads} />
129124
<AnalysisBox handleExecute={handleExecute} lastExecution={lastExecution} statistics={statistics} />
130-
</Box>
125+
</Grid>
131126
</Paper>
132127
}
133128
</Container>

src/client/src/pages/Admin/Components/AnalysisBox.jsx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -13,7 +13,7 @@ export default function AnalysisBox(props) {
1313
const { handleExecute, lastExecution, statistics } = props;
1414

1515
return (
16-
<Grid container item direction="column" spacing={3} sm={6}>
16+
<Grid item direction="column" spacing={3} sm={6}>
1717
<Paper>
1818
<CardContent>
1919
<Typography variant="h5" style={{ paddingBottom: 5 }}>

src/client/src/pages/Admin/Components/UploadBox.jsx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -13,7 +13,7 @@ export default function UploadBox(props) {
1313
const { filesInput, handleUpload, lastUploads } = props;
1414

1515
return (
16-
<Grid container item direction="column" spacing={3} sm={6}>
16+
<Grid item direction="column" spacing={3} sm={6}>
1717
<Paper>
1818
<CardContent>
1919
<Typography variant="h5">Upload Files</Typography>

0 commit comments

Comments
 (0)