projects
/
vchess.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Fixes, improvements
[vchess.git]
/
client
/
src
/
components
/
BaseGame.vue
diff --git
a/client/src/components/BaseGame.vue
b/client/src/components/BaseGame.vue
index
c17ba1e
..
f5eb9a6
100644
(file)
--- a/
client/src/components/BaseGame.vue
+++ b/
client/src/components/BaseGame.vue
@@
-121,7
+121,7
@@
export default {
if (!boardSize)
{
boardSize = (window.innerWidth >= 768
if (!boardSize)
{
boardSize = (window.innerWidth >= 768
- ?
Math.min(600, 0.5*window.innerWidth) //heuristic...
+ ?
0.75 * Math.min(window.innerWidth, window.innerHeight)
: window.innerWidth);
}
const movesWidth = (window.innerWidth >= 768 ? 280 : 0);
: window.innerWidth);
}
const movesWidth = (window.innerWidth >= 768 ? 280 : 0);