From b5ea3e3d55760df55073f82eacb2dbcb7d3c448f Mon Sep 17 00:00:00 2001
From: luxiaotao1123 <t1341870251@163.com>
Date: 星期三, 16 十月 2024 16:43:11 +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 57af9bb..a601a51 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}>
+ <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,11 +58,11 @@
},
borderRadius: '8px',
}}>
- <CardContent>
+ <CardContent sx={{ height: '100%' }}>
{deviceType === DEVICE_TYPE.SHELF && (
<>
<ShelfInsight
-
+ sprite={sprite}
/>
</>
)}
--
Gitblit v1.9.1