diff --git a/index.html b/index.html index 5356148..e79ad3a 100644 --- a/index.html +++ b/index.html @@ -3,7 +3,7 @@ - + 美伊军事态势显示 diff --git a/server/data.db-shm b/server/data.db-shm index c21e61d..5c447fe 100644 Binary files a/server/data.db-shm and b/server/data.db-shm differ diff --git a/server/data.db-wal b/server/data.db-wal index 68ff237..268c306 100644 Binary files a/server/data.db-wal and b/server/data.db-wal differ diff --git a/src/App.tsx b/src/App.tsx index eb7c87d..2ea2ed7 100644 --- a/src/App.tsx +++ b/src/App.tsx @@ -5,7 +5,7 @@ import { DbDashboard } from '@/pages/DbDashboard' function App() { return (
diff --git a/src/index.css b/src/index.css index 4b194f5..443e932 100644 --- a/src/index.css +++ b/src/index.css @@ -17,7 +17,9 @@ body, padding: 0; min-height: 100vh; min-height: 100dvh; - min-width: 100vw; + width: 100%; + max-width: 100vw; + overflow-x: hidden; height: 100%; background: var(--bg-dark); color: #F3F4F6; diff --git a/src/pages/Dashboard.tsx b/src/pages/Dashboard.tsx index 0315116..324aeb5 100644 --- a/src/pages/Dashboard.tsx +++ b/src/pages/Dashboard.tsx @@ -24,7 +24,7 @@ export function Dashboard() { }, []) return ( -
+
{lastError && (
{lastError}(使用本地缓存,请确保 API + WebSocket 已启动:npm run api) @@ -33,9 +33,30 @@ export function Dashboard() { -
-