From dc31d8c4e1e45d6f932050a0da4e18a09d8dfd07 Mon Sep 17 00:00:00 2001
From: luxiaotao1123 <t1341870251@163.com>
Date: 星期三, 16 十月 2024 15:55:27 +0800
Subject: [PATCH] #

---
 zy-acs-flow/src/map/insight/index.jsx |    7 ++++---
 1 files changed, 4 insertions(+), 3 deletions(-)

diff --git a/zy-acs-flow/src/map/insight/index.jsx b/zy-acs-flow/src/map/insight/index.jsx
index 48c10db..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} 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

--
Gitblit v1.9.1