Commit 73d8a7a0 authored by Paranagama R.P.S.D.'s avatar Paranagama R.P.S.D.

fix : UI Issues

parent 4bf32b65
...@@ -243,23 +243,6 @@ export default function AboutPage() { ...@@ -243,23 +243,6 @@ export default function AboutPage() {
</Box> </Box>
</Card> </Card>
</Grid> </Grid>
{/* <Grid item xs={12} md={12}>
<center>
<Button
variant="contained"
style={{ width: '200px', height: '60px', fontSize: '20px' }}
sx={{
mb: 3,
}}
disabled={loading}
onClick={() => {
translateSignLanguageToText();
}}
>
Translate
</Button>
</center>
</Grid> */}
</Grid> </Grid>
</Card> </Card>
</Box> </Box>
...@@ -281,6 +264,29 @@ export default function AboutPage() { ...@@ -281,6 +264,29 @@ export default function AboutPage() {
<Card sx={{ p: 5, minHeight: 300 }}> <Card sx={{ p: 5, minHeight: 300 }}>
<Box display="grid" gap={5}> <Box display="grid" gap={5}>
<Stack spacing={2}> <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 ? ( {loading ? (
<Card> <Card>
<CardContent> <CardContent>
...@@ -320,20 +326,6 @@ export default function AboutPage() { ...@@ -320,20 +326,6 @@ export default function AboutPage() {
</Box> </Box>
</Card> </Card>
</Grid> </Grid>
<Grid item xs={12} md={12}>
<center>
<Button
variant="contained"
style={{ width: '200px', height: '60px', fontSize: '20px' }}
sx={{
mb: 3,
}}
disabled={loading}
>
Translate
</Button>
</center>
</Grid>
</Grid> </Grid>
</Card> </Card>
</Box> </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