From e6402661d6640620436e1dfe82c27ac775486622 Mon Sep 17 00:00:00 2001 From: shiyu Date: Mon, 9 Mar 2026 17:26:24 +0800 Subject: [PATCH] fix(LayoutShell): adjust layout styles for better responsiveness and overflow handling --- web/src/pages/PluginsPage.tsx | 2 +- web/src/pages/ProcessorsPage.tsx | 10 +++++----- web/src/router/LayoutShell.tsx | 10 ++++++---- 3 files changed, 12 insertions(+), 10 deletions(-) diff --git a/web/src/pages/PluginsPage.tsx b/web/src/pages/PluginsPage.tsx index d6411f8..137ce37 100644 --- a/web/src/pages/PluginsPage.tsx +++ b/web/src/pages/PluginsPage.tsx @@ -521,7 +521,7 @@ const PluginsPage = memo(function PluginsPage() { }; return ( -
+
{contextHolder} - + @@ -564,13 +564,13 @@ const ProcessorsPage = memo(function ProcessorsPage() { } - styles={{ body: { padding: 0, flex: 1, display: 'flex' } }} + styles={{ body: { padding: 0, flex: 1, minHeight: 0, display: 'flex' } }} > {renderProcessorList()} @@ -582,7 +582,7 @@ const ProcessorsPage = memo(function ProcessorsPage() { } - styles={{ body: { padding: 0, flex: 1, display: 'flex', flexDirection: 'column' } }} + styles={{ body: { padding: 0, flex: 1, minHeight: 0, display: 'flex', flexDirection: 'column' } }} > + {!isMobile && ( )} - + -
- +
+ {navKey === 'adapters' && } {navKey === 'files' && } {navKey === 'share' && }