Improve ISO list route UI
All checks were successful
continuous-integration/drone/push Build is passing

This commit is contained in:
2025-05-21 20:45:48 +02:00
parent 8c27010396
commit 01f26c1a79
5 changed files with 80 additions and 51 deletions

View File

@ -2,10 +2,19 @@ import { Paper, Typography } from "@mui/material";
import React, { PropsWithChildren } from "react";
export function VirtWebPaper(
p: { label: string | React.ReactElement } & PropsWithChildren
p: {
label: string | React.ReactElement;
noHorizontalMargin?: boolean;
} & PropsWithChildren
): React.ReactElement {
return (
<Paper elevation={2} style={{ padding: "10px", margin: "20px" }}>
<Paper
elevation={2}
style={{
padding: "10px",
margin: p.noHorizontalMargin ? "20px 0px" : "20px",
}}
>
<Typography
variant="subtitle1"
style={{ marginBottom: "10px", fontWeight: "bold" }}