From a7a2a9b8f1524831898501d11bbedc0c4a3da3a4 Mon Sep 17 00:00:00 2001 From: luxiaotao1123 <t1341870251@163.com> Date: 星期二, 24 九月 2024 09:16:36 +0800 Subject: [PATCH] # --- zy-acs-flow/src/page/bus/BusPanel.jsx | 8 ++++---- 1 files changed, 4 insertions(+), 4 deletions(-) diff --git a/zy-acs-flow/src/page/bus/BusPanel.jsx b/zy-acs-flow/src/page/bus/BusPanel.jsx index 85e14d5..6cee8d5 100644 --- a/zy-acs-flow/src/page/bus/BusPanel.jsx +++ b/zy-acs-flow/src/page/bus/BusPanel.jsx @@ -36,11 +36,11 @@ return ( <> - <Card sx={{ maxWidth: '80%', margin: 'auto' }}> + <Card sx={{ maxWidth: '80%', margin: 'auto', mt: .5, mb: .5 }}> <CardContent> <Grid container spacing={2}> <Grid item xs={12} sx={{ display: 'flex', justifyContent: 'space-between' }}> - <Typography variant="h6" gutterBottom align="left" sx={{ + <Typography variant="h5" gutterBottom align="left" sx={{ maxWidth: { xs: '100px', sm: '180px', md: '260px', lg: '360px' }, whiteSpace: 'nowrap', overflow: 'hidden', @@ -49,7 +49,7 @@ {Common.camelToPascalWithSpaces(translate('table.field.bus.busNo'))}: {record.busNo} </Typography> {/* inherit, primary, secondary, textPrimary, textSecondary, error */} - <Typography variant="h6" gutterBottom align="right" > + <Typography variant="h5" gutterBottom align="right" > ID: {record.id} </Typography> </Grid> @@ -61,7 +61,7 @@ </Typography> </Grid> </Grid> - <Box height={20}> </Box> + <Box height={10}> </Box> <Box> <Table size="small"> <TableHead> -- Gitblit v1.9.1