X-Git-Url: https://git.auder.net/images/diag_mark.svg?a=blobdiff_plain;f=client%2Fsrc%2Fcomponents%2FBoard.vue;h=7257b2180bd171006ceed2423d1475b4acf85954;hb=7e355d68b5962aad106e28a9d669a47f3cbec43a;hp=2783381599f1022f1b8f198ed43df97ae05115f6;hpb=93d1d7a7e07e7bad94318d3cb4cbe906d85bd811;p=vchess.git diff --git a/client/src/components/Board.vue b/client/src/components/Board.vue index 27833815..7257b218 100644 --- a/client/src/components/Board.vue +++ b/client/src/components/Board.vue @@ -157,7 +157,7 @@ export default { ); }) ); - const playingColor = userColor || "w"; //default for an observer + const playingColor = this.userColor || "w"; //default for an observer let elementArray = [choices, gameDiv]; if (!!this.vr.reserve) { @@ -237,13 +237,6 @@ export default { 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, @@ -370,6 +363,8 @@ export default { .reserve-row-1 margin-bottom: 15px +// NOTE: no variants with reserve of size != 8 + div.board float: left height: 0 @@ -388,8 +383,6 @@ div.board11 width: 9.09% padding-bottom: 9.1% -// NOTE: no variants with reserve of size != 8 - .game width: 80vh margin: 0 auto