Fix Grid sizes

This commit is contained in:
2024-10-21 10:06:16 +04:00
parent 6f5e28aea7
commit c2c6919356
9 changed files with 12 additions and 12 deletions
+1 -1
View File
@@ -8,7 +8,7 @@ import TraductionsStats from './traductions-stats'
export default function KatStats({emoji, value, total}) {
return (
<Grid xs={12} md={2}>
<Grid size={{xs: 12, md: 2}}>
<Card variant='outlined'>
<CardContent>
<Typography align='center' variant='h6'>
+1 -1
View File
@@ -12,7 +12,7 @@ export default function TraductionsStats({value, total}) {
return (
<Box sx={{width: '100%'}}>
<Grid container rowSpacing={3} columnSpacing={6} justifyContent='space-around'>
<Grid xs={12} md={6}>
<Grid size={{xs: 12, md: 6}}>
<Typography style={{fontWeight: 'bold'}} align='center' variant='h6'>
{translated}
</Typography>