Commit 4bf32b65 authored by Paranagama R.P.S.D.'s avatar Paranagama R.P.S.D.

fix : UI Issues

parent 23495a40
......@@ -161,6 +161,7 @@ export default function AboutPage() {
file={file}
onDrop={handleDropSingleFile}
onDelete={() => setFile(null)}
multiple={true}
/>
{file && (
......@@ -180,6 +181,29 @@ export default function AboutPage() {
<Card sx={{ p: 5, minHeight: 300 }}>
<Box display="grid" gap={5}>
<Stack spacing={2}>
<Grid
item
xs={12}
md={12}
container
direction="row"
justifyContent="flex-end"
alignItems="center"
>
<Button
variant="contained"
style={{ width: '200px', height: '60px', fontSize: '20px' }}
sx={{
mb: 3,
}}
disabled={loading}
onClick={() => {
translateSignLanguageToText();
}}
>
Translate
</Button>
</Grid>
{loading ? (
<Card>
<CardContent>
......@@ -219,7 +243,7 @@ export default function AboutPage() {
</Box>
</Card>
</Grid>
<Grid item xs={12} md={12}>
{/* <Grid item xs={12} md={12}>
<center>
<Button
variant="contained"
......@@ -235,7 +259,7 @@ export default function AboutPage() {
Translate
</Button>
</center>
</Grid>
</Grid> */}
</Grid>
</Card>
</Box>
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment