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