From cd68736263d8b412f79023334a91d808969641a7 Mon Sep 17 00:00:00 2001 From: kangfenmao Date: Thu, 24 Jul 2025 18:08:03 +0800 Subject: [PATCH] style(MinAppsPage): adjust padding for AppsContainerWrapper based on navbar position - Increased padding for the AppsContainerWrapper to 50px for better spacing. - Added conditional padding for when the navbar is positioned at the top, reverting to 20px for improved layout consistency. --- src/renderer/src/pages/minapps/MinAppsPage.tsx | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/src/renderer/src/pages/minapps/MinAppsPage.tsx b/src/renderer/src/pages/minapps/MinAppsPage.tsx index f1c052ca73..db82bf43a3 100644 --- a/src/renderer/src/pages/minapps/MinAppsPage.tsx +++ b/src/renderer/src/pages/minapps/MinAppsPage.tsx @@ -148,8 +148,11 @@ const AppsContainerWrapper = styled(Scrollbar)` flex: 1; flex-direction: row; justify-content: center; - padding: 20px 0; + padding: 50px 0; width: 100%; + [navbar-position='top'] & { + padding: 20px 0; + } ` const AppsContainer = styled.div`