Update frontend dependencies
All checks were successful
continuous-integration/drone/push Build is passing

This commit is contained in:
2024-09-09 22:17:51 +02:00
parent 5ce523a3fb
commit ca4ac359d3
6 changed files with 364 additions and 237 deletions

View File

@ -3,7 +3,8 @@ import DeleteIcon from "@mui/icons-material/Delete";
import EditIcon from "@mui/icons-material/Edit";
import FileDownloadIcon from "@mui/icons-material/FileDownload";
import SaveIcon from "@mui/icons-material/Save";
import { Button, Grid, Stack } from "@mui/material";
import { Button, Stack } from "@mui/material";
import Grid from "@mui/material/Grid2";
import React from "react";
import { useNavigate, useParams } from "react-router-dom";
import { ServerApi } from "../../../api/ServerApi";
@ -352,7 +353,7 @@ export function CouplePage(p: {
<Grid container spacing={2}>
{/* General info */}
<Grid item sm={12} md={6}>
<Grid size={{ sm: 12, md: 6 }}>
<PropertiesBox title="Informations générales">
{/* Husband */}
<br />
@ -427,7 +428,7 @@ export function CouplePage(p: {
{
/* Photo */ !family.family.disable_couple_photos && (
<Grid item sm={12} md={6}>
<Grid size={{ sm: 12, md: 6 }}>
<PropertiesBox title="Photo">
<div style={{ textAlign: "center" }}>
<CouplePhoto couple={couple} width={150} />
@ -474,7 +475,7 @@ export function CouplePage(p: {
{/* Children */}
{p.children && (
<Grid item sm={12} md={6}>
<Grid size={{ sm: 12, md: 6 }}>
<PropertiesBox title="Enfants">
{p.children.length === 0 ? (
<>Aucun enfant</>