mirror of
https://ghproxy.com/https://github.com/StreakingMan/solvable-sheep-game
synced 2025-05-24 19:28:17 +08:00
fix: pc样式调整
This commit is contained in:
parent
c63f5f5130
commit
777444d2cb
|
@ -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 {
|
||||
|
|
|
@ -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)}
|
||||
|
|
Loading…
Reference in New Issue
Block a user