ReadySet position
This commit is contained in:
parent
75148d5e30
commit
6a7a1cea57
@ -32,10 +32,13 @@ export default {
|
||||
<style lang="scss">
|
||||
.ready-set {
|
||||
&__container {
|
||||
position: relative;
|
||||
position: absolute;
|
||||
left: 50%;
|
||||
top: 100px;
|
||||
margin: 0 0 0 -300px;
|
||||
width: 600px;
|
||||
height: 600px;
|
||||
border: 1px solid white;
|
||||
overflow: hidden;
|
||||
}
|
||||
|
||||
&__box1 {
|
||||
|
@ -3,9 +3,9 @@
|
||||
<GameControls />
|
||||
<EngineDebug />
|
||||
<ReadySet v-if="gameState === 'ready-set'" :text="gamePhase" />
|
||||
<div v-if="gameState === 'idle'">
|
||||
<template v-if="gameState === 'idle'">
|
||||
<ReadySet text="waiting ..." />
|
||||
</div>
|
||||
</template>
|
||||
<div v-if="gameState === 'play'">
|
||||
<h2>Play</h2>
|
||||
</div>
|
||||
|
Loading…
Reference in New Issue
Block a user