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/shelf/index.jsx |    6 +++---
 1 files changed, 3 insertions(+), 3 deletions(-)

diff --git a/zy-acs-flow/src/map/insight/shelf/index.jsx b/zy-acs-flow/src/map/insight/shelf/index.jsx
index 8652896..7dd73bb 100644
--- a/zy-acs-flow/src/map/insight/shelf/index.jsx
+++ b/zy-acs-flow/src/map/insight/shelf/index.jsx
@@ -18,7 +18,7 @@
     };
 
     return (
-        <>
+        <Box sx={{ height: '100%', display: 'flex', flexDirection: 'column' }}>
             <Tabs
                 value={activeTab}
                 onChange={handleTabChange}
@@ -33,7 +33,7 @@
 
             <Divider />
 
-            <Box pt={1}>
+            <Box flex={1} pt={2}>
                 {activeTab === 0 && (
                     <ShelfMain
                         data={sprite?.data}
@@ -48,7 +48,7 @@
                     />
                 )}
             </Box>
-        </>
+        </Box>
     )
 }
 

--
Gitblit v1.9.1