Improve backup page layout

This commit is contained in:
Pierre HUBERT 2025-05-08 17:39:16 +02:00
parent 55f2679d1a
commit 6d81ab993b

View File

@ -135,11 +135,18 @@ function ImportExportModal(p: {
}; };
return ( return (
<Grid size={{ md: 6, lg: 3 }} style={{ height: "100%" }}> <Grid
size={{ sm: 12, md: 6, lg: 4 }}
style={{ height: "100%", maxHeight: "250px" }}
>
<Card <Card
elevation={3} elevation={3}
variant="outlined" variant="outlined"
style={{ height: "100%", display: "flex", flexDirection: "column" }} style={{
height: "100%",
display: "flex",
flexDirection: "column",
}}
> >
<CardHeader avatar={p.icon} title={p.label} /> <CardHeader avatar={p.icon} title={p.label} />
<CardContent style={{ flex: 1 }}> <CardContent style={{ flex: 1 }}>