fix: pc样式调整

This commit is contained in:
streakingman 2022-09-16 02:39:24 +08:00
parent c63f5f5130
commit 777444d2cb
2 changed files with 4 additions and 2 deletions

View File

@ -1,11 +1,12 @@
#root { #root {
text-align: center; text-align: center;
width: 100%; width: 100%;
max-width: 500px;
margin: 0 auto;
} }
.app { .app {
width: 100%; width: 100%;
max-width: 768px;
margin: 0 auto; margin: 0 auto;
} }
@ -13,6 +14,7 @@
width: 100%; width: 100%;
padding-bottom: 100%; padding-bottom: 100%;
position: relative; position: relative;
cursor: pointer;
} }
.scene-inner { .scene-inner {

View File

@ -297,7 +297,7 @@ const App: FC = () => {
? item.x ? item.x
: item.status === 1 : item.status === 1
? sortedQueue[item.id] ? sortedQueue[item.id]
: -1000 : -2000
} }
y={item.status === 0 ? item.y : 815} y={item.status === 0 ? item.y : 815}
onClick={() => clickSymbol(idx)} onClick={() => clickSymbol(idx)}