Skip to content

Commit

Permalink
fix: Correction de l'affichage en mobile.
Browse files Browse the repository at this point in the history
  • Loading branch information
remillc committed Aug 28, 2024
1 parent 1b8ef03 commit 9a85f2d
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions content/fiche-personnel.mdx
Original file line number Diff line number Diff line change
Expand Up @@ -13,15 +13,15 @@ Voici un composant où on peut rechercher un employé et afficher sa fiche à pa

<Box display="flex" justifyContent="center" alignItems="center">
<Grid container spacing={2} my={4}>
<Grid xs={6} display="flex" justifyContent="center" alignItems="center">
<Grid md={6} display="flex" justifyContent="center" alignItems="center">
<Typography variant="h2">Nullam vestibulum</Typography>
<ul>
<li>Curabitur tristique posuere porttitor </li>
<li>Duis a nunc fringilla nisl posuere laoreet nec</li>
<li>Curabitur ut metus et tortor</li>
</ul>
</Grid>
<Grid xs={6} display="flex" justifyContent="center" alignItems="center">
<Grid md={6} display="flex" justifyContent="center" alignItems="center">
<Card sx={{ maxWidth: 345 }}>
<CardMedia component="img" alt="green iguana" height="140" image="https://mui.com/static/images/cards/contemplative-reptile.jpg" />
<CardContent>
Expand All @@ -45,7 +45,7 @@ Voici un composant où on peut rechercher un employé et afficher sa fiche à pa

<Box display="flex" justifyContent="center" alignItems="center">
<Grid container spacing={2} my={4}>
<Grid xs={6} display="flex" justifyContent="center" alignItems="center">
<Grid md={6} display="flex" justifyContent="center" alignItems="center">
<Card sx={{ maxWidth: 345 }}>
<CardMedia component="img" alt="green iguana" height="140" image="https://mui.com/static/images/cards/contemplative-reptile.jpg" />
<CardContent>
Expand All @@ -62,7 +62,7 @@ Voici un composant où on peut rechercher un employé et afficher sa fiche à pa
</CardActions>
</Card>
</Grid>
<Grid xs={6} display="flex" justifyContent="center" alignItems="center">
<Grid md={6} display="flex" justifyContent="center" alignItems="center">
<Typography variant="h2">Nullam vestibulum</Typography>
<ul>
<li>Curabitur tristique posuere porttitor </li>
Expand Down

0 comments on commit 9a85f2d

Please sign in to comment.