From 777444d2cb2edc31b8bb96f96a655d6625f4ba59 Mon Sep 17 00:00:00 2001 From: streakingman Date: Fri, 16 Sep 2022 02:39:24 +0800 Subject: [PATCH] =?UTF-8?q?fix:=20pc=E6=A0=B7=E5=BC=8F=E8=B0=83=E6=95=B4?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/App.css | 4 +++- src/App.tsx | 2 +- 2 files changed, 4 insertions(+), 2 deletions(-) diff --git a/src/App.css b/src/App.css index 6d18af5..255ad44 100644 --- a/src/App.css +++ b/src/App.css @@ -1,11 +1,12 @@ #root { text-align: center; width: 100%; + max-width: 500px; + margin: 0 auto; } .app { width: 100%; - max-width: 768px; margin: 0 auto; } @@ -13,6 +14,7 @@ width: 100%; padding-bottom: 100%; position: relative; + cursor: pointer; } .scene-inner { diff --git a/src/App.tsx b/src/App.tsx index cb9e080..a307379 100644 --- a/src/App.tsx +++ b/src/App.tsx @@ -297,7 +297,7 @@ const App: FC = () => { ? item.x : item.status === 1 ? sortedQueue[item.id] - : -1000 + : -2000 } y={item.status === 0 ? item.y : 815} onClick={() => clickSymbol(idx)}