From 4f32ade76be015062d305c6b0eecf1b7fbedd331 Mon Sep 17 00:00:00 2001 From: luxiaotao1123 <t1341870251@163.com> Date: 星期四, 17 十月 2024 10:40:54 +0800 Subject: [PATCH] # --- zy-acs-flow/src/map/insight/index.jsx | 9 +++++---- 1 files changed, 5 insertions(+), 4 deletions(-) diff --git a/zy-acs-flow/src/map/insight/index.jsx b/zy-acs-flow/src/map/insight/index.jsx index 48c10db..ec213a8 100644 --- a/zy-acs-flow/src/map/insight/index.jsx +++ b/zy-acs-flow/src/map/insight/index.jsx @@ -34,7 +34,7 @@ sx={{ zIndex: 100, opacity: 1 }} > {open && ( - <Box pt={12} width={{ xs: '100vW', sm: width }} height={'calc(100vh - 200px);'} mt={{ xs: 2, sm: 1 }} sx={{ + <Box pt={12} width={{ xs: '100vW', sm: width }} height={'calc(100vh - 100px);'} mt={{ xs: 2, sm: 1 }} sx={{ }}> <Stack direction="row" p={2}> <Typography variant="h6" flex="1"> @@ -44,8 +44,9 @@ <CloseIcon /> </IconButton> </Stack> - <Box p={2} pt={1}> + <Box p={2} pt={1} height='100%'> <Card sx={{ + height: '100%', transition: '0.3s', boxShadow: themeMode === 'light' ? '0px 2px 8px rgba(0, 0, 0, 0.1)' @@ -57,7 +58,7 @@ }, borderRadius: '8px', }}> - <CardContent> + <CardContent sx={{ height: '100%' }}> {deviceType === DEVICE_TYPE.SHELF && ( <> <ShelfInsight @@ -69,7 +70,7 @@ {deviceType === DEVICE_TYPE.AGV && ( <> <AgvInsight - + sprite={sprite} /> </> )} -- Gitblit v1.9.1