forked from FoundKeyGang/FoundKey
Oops
This commit is contained in:
parent
0ef2261889
commit
408435c195
1 changed files with 2 additions and 2 deletions
|
@ -19,7 +19,7 @@
|
||||||
</div>
|
</div>
|
||||||
<div :class="$style.board" v-if="game.settings.map != null" :style="{ 'grid-template-rows': `repeat(${ game.settings.map.length }, 1fr)`, 'grid-template-columns': `repeat(${ game.settings.map[0].length }, 1fr)` }">
|
<div :class="$style.board" v-if="game.settings.map != null" :style="{ 'grid-template-rows': `repeat(${ game.settings.map.length }, 1fr)`, 'grid-template-columns': `repeat(${ game.settings.map[0].length }, 1fr)` }">
|
||||||
<div v-for="(x, i) in game.settings.map.join('')"
|
<div v-for="(x, i) in game.settings.map.join('')"
|
||||||
:class="{ none: x == ' ' }"
|
:data-none="x == ' '"
|
||||||
@click="onPixelClick(i, x)"
|
@click="onPixelClick(i, x)"
|
||||||
>
|
>
|
||||||
<template v-if="x == 'b'">%fa:circle%</template>
|
<template v-if="x == 'b'">%fa:circle%</template>
|
||||||
|
@ -324,7 +324,7 @@ export default Vue.extend({
|
||||||
width 100%
|
width 100%
|
||||||
height 100%
|
height 100%
|
||||||
|
|
||||||
&.none
|
&[data-none]
|
||||||
border-color transparent
|
border-color transparent
|
||||||
|
|
||||||
</style>
|
</style>
|
||||||
|
|
Loading…
Reference in a new issue