},
render(h) {
const [sizeX,sizeY] = VariantRules.size;
- const smallScreen = (screen.width <= 500);
+ const smallScreen = (screen.width <= 420);
// Precompute hints squares to facilitate rendering
let hintSquares = doubleArray(sizeX, sizeY, false);
this.possibleMoves.forEach(m => { hintSquares[m.end.x][m.end.y] = true; });
{
on: { click: this.toggleExpertMode },
attrs: { "aria-label": 'Toggle expert mode' },
+ style: { "padding-top": "0", "margin-top": "0" },
'class': {
"tooltip":true,
"topindicator": true,
font-family: "Open Sans", Arial, sans-serif
body
- padding: 1% 0
+ padding: 0
background-color: #f2f2f2
@media screen and (min-width: 800px)