mirror of
https://git.joinsharkey.org/Sharkey/Sharkey.git
synced 2024-11-27 01:53:08 +02:00
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 :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('')"
|
||||
:class="{ none: x == ' ' }"
|
||||
:data-none="x == ' '"
|
||||
@click="onPixelClick(i, x)"
|
||||
>
|
||||
<template v-if="x == 'b'">%fa:circle%</template>
|
||||
|
@ -324,7 +324,7 @@ export default Vue.extend({
|
|||
width 100%
|
||||
height 100%
|
||||
|
||||
&.none
|
||||
&[data-none]
|
||||
border-color transparent
|
||||
|
||||
</style>
|
||||
|
|
Loading…
Reference in a new issue