Browse Source

💄 style(mobile): adjust main layout structure

- 注释掉顶部导航栏组件
- 移除主内容区域的内边距样式
yourname 6 months ago
parent
commit
5e58833d1c
1 changed files with 3 additions and 3 deletions
  1. 3 3
      src/client/mobile/layouts/MainLayout.tsx

+ 3 - 3
src/client/mobile/layouts/MainLayout.tsx

@@ -136,7 +136,7 @@ export const MainLayout = () => {
       {/* 主内容区域 */}
       <div className="flex-1 flex flex-col min-w-0">
         {/* 顶部导航 */}
-        <header className="bg-card border-b border-border sticky top-0 z-40">
+        {/* <header className="bg-card border-b border-border sticky top-0 z-40">
           <div className="flex items-center justify-between h-16 px-4">
             <div className="flex items-center">
               <button
@@ -167,10 +167,10 @@ export const MainLayout = () => {
               )}
             </div>
           </div>
-        </header>
+        </header> */}
 
         {/* 内容区域 */}
-        <main className="flex-1 overflow-auto p-6">
+        <main className="flex-1">
           <Outlet />
         </main>
       </div>