diff --git a/src/App.tsx b/src/App.tsx index ebc4158..9d33fe2 100644 --- a/src/App.tsx +++ b/src/App.tsx @@ -206,9 +206,9 @@ function App() { }; return ( -
- {/* Linear 风格的顶部导航 */} -
+
+ {/* 顶部导航区域 - 固定高度 */} +

@@ -247,29 +247,31 @@ function App() {

- {/* 主内容区域 */} -
-
- {/* 通知组件 */} - {notification && ( -
- {notification.message} -
- )} + {/* 主内容区域 - 独立滚动 */} +
+
+
+ {/* 通知组件 - 相对于视窗定位 */} + {notification && ( +
+ {notification.message} +
+ )} - + +