projects
/
vchess.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Some graphical improvements (first attempt)
[vchess.git]
/
client
/
src
/
components
/
Board.vue
diff --git
a/client/src/components/Board.vue
b/client/src/components/Board.vue
index
f97a2c5
..
4e03b18
100644
(file)
--- a/
client/src/components/Board.vue
+++ b/
client/src/components/Board.vue
@@
-1,6
+1,4
@@
<script>
<script>
-// TODO: BoardHex for hexagonal variants (2 players)
-
import { getSquareId, getSquareFromId } from "@/utils/squareId";
import { ArrayFun } from "@/utils/array";
import { getSquareId, getSquareFromId } from "@/utils/squareId";
import { ArrayFun } from "@/utils/array";
@@
-237,13
+235,6
@@
export default {
return h(
'div',
{
return h(
'div',
{
- 'class': {
- "col-sm-12": true,
- "col-md-10": true,
- "col-md-offset-1": true,
- "col-lg-8": true,
- "col-lg-offset-2": true,
- },
// NOTE: click = mousedown + mouseup
on: {
mousedown: this.mousedown,
// NOTE: click = mousedown + mouseup
on: {
mousedown: this.mousedown,
@@
-370,6
+361,8
@@
export default {
.reserve-row-1
margin-bottom: 15px
.reserve-row-1
margin-bottom: 15px
+// NOTE: no variants with reserve of size != 8
+
div.board
float: left
height: 0
div.board
float: left
height: 0
@@
-388,8
+381,6
@@
div.board11
width: 9.09%
padding-bottom: 9.1%
width: 9.09%
padding-bottom: 9.1%
-// NOTE: no variants with reserve of size != 8
-
.game
width: 80vh
margin: 0 auto
.game
width: 80vh
margin: 0 auto