From b013d9cd26e32e1ed9ec23aaaabd943bc955bc9e Mon Sep 17 00:00:00 2001
From: ali asaria <ali.asaria@gmail.com>
Date: Wed, 28 Feb 2024 15:30:25 -0500
Subject: [PATCH] fix display of plugins and plugin gallery

---
 src/renderer/components/Plugins/Plugins.tsx | 21 +++++++++++++++++----
 1 file changed, 17 insertions(+), 4 deletions(-)

diff --git a/src/renderer/components/Plugins/Plugins.tsx b/src/renderer/components/Plugins/Plugins.tsx
index 2c69cd0e..28a4ee16 100644
--- a/src/renderer/components/Plugins/Plugins.tsx
+++ b/src/renderer/components/Plugins/Plugins.tsx
@@ -27,19 +27,32 @@ export default function Plugins({ experimentInfo }) {
             &nbsp; Plugin Script Store
           </Tab>
         </TabList>
-        <TabPanel value={0} sx={{ overflow: 'auto' }}>
-          <LocalPlugins experimentInfo={experimentInfo} />
+        <TabPanel
+          value={0}
+          sx={{
+            height: '100%',
+            flexDirection: 'column',
+          }}
+        >
+          <Sheet
+            sx={{ display: 'flex', flexDirection: 'column', height: '100%' }}
+          >
+            <LocalPlugins experimentInfo={experimentInfo} />
+          </Sheet>
         </TabPanel>
         <TabPanel
           value={1}
           sx={{
             overflow: 'hidden',
             height: '100%',
-            display: 'flex',
             flexDirection: 'column',
           }}
         >
-          <PluginGallery experimentInfo={experimentInfo} />
+          <Sheet
+            sx={{ display: 'flex', flexDirection: 'column', height: '100%' }}
+          >
+            <PluginGallery experimentInfo={experimentInfo} />
+          </Sheet>
         </TabPanel>
       </Tabs>
     </Sheet>
-- 
GitLab