From 18b3472ce8e6c9dc6dbe4a5a5c8dce1315493aef Mon Sep 17 00:00:00 2001 From: afc163 Date: Wed, 6 May 2026 19:08:10 +0800 Subject: [PATCH] fix: move OfflineBanner into ProLayout childrenRender rootContainer is outside ProLayout, causing layout issues (empty ant-layout-header inserted). Move OfflineBanner into childrenRender where it renders inside the ProLayout content area as intended. Co-Authored-By: Claude Opus 4.7 --- src/app.tsx | 8 ++------ 1 file changed, 2 insertions(+), 6 deletions(-) diff --git a/src/app.tsx b/src/app.tsx index de16ba25..0766a86a 100644 --- a/src/app.tsx +++ b/src/app.tsx @@ -152,6 +152,7 @@ export const layout: RunTimeLayoutConfig = ({ // if (initialState?.loading) return ; return ( <> + {children} - - {container} - - ); + return {container}; }