X-Git-Url: https://git.auder.net/?p=vchess.git;a=blobdiff_plain;f=public%2Fjavascripts%2Fcomponents%2Fgame.js;h=30ed7e0b910606fa64755b7ff64b7e5ef13e2fab;hp=e412525fa301c400822b51e62302523a3733cf89;hb=0706ea91c99bc75c526fc9ac1ab62fe7999c7069;hpb=6a01d4f7761b10e715799d1f13b9c8d2442dba55 diff --git a/public/javascripts/components/game.js b/public/javascripts/components/game.js index e412525f..30ed7e0b 100644 --- a/public/javascripts/components/game.js +++ b/public/javascripts/components/game.js @@ -40,6 +40,7 @@ Vue.component('my-game', { attrs: { "aria-label": 'New game VS human' }, 'class': { "tooltip": true, + "bottom": true, //display below "seek": this.seek, "playing": playingHuman, }, @@ -51,6 +52,7 @@ Vue.component('my-game', { attrs: { "aria-label": 'New game VS computer' }, 'class': { "tooltip":true, + "bottom": true, "playing": playingComp, }, }, @@ -180,7 +182,10 @@ Vue.component('my-game', { { on: { click: this.resign }, attrs: { "aria-label": 'Resign' }, - 'class': { "tooltip":true }, + 'class': { + "tooltip":true, + "bottom": true, + }, }, [h('i', { 'class': { "material-icons": true } }, "flag")]) );