projects
/
vchess.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Work on sizes, CSS
[vchess.git]
/
client
/
src
/
components
/
Board.vue
diff --git
a/client/src/components/Board.vue
b/client/src/components/Board.vue
index
eb9e6e4
..
25da6f1
100644
(file)
--- a/
client/src/components/Board.vue
+++ b/
client/src/components/Board.vue
@@
-260,12
+260,6
@@
export default {
elementArray
);
},
elementArray
);
},
- mounted: function() {
- // NOTE (TODO?): could also be dependent on page type (game, analyze, variant)
- const boardSize = localStorage.getItem("boardSize");
- if (!!boardSize)
- document.querySelector(".game").style.width = boardSize + "px";
- },
methods: {
mousedown: function(e) {
e = e || window.event;
methods: {
mousedown: function(e) {
e = e || window.event;
@@
-400,13
+394,10
@@
div.board11
padding-bottom: 9.1%
.game
padding-bottom: 9.1%
.game
- //width: #{'min(80vw, 500px)'}
- margin: 0
auto
+ width: 100%
+ margin: 0
.board
cursor: pointer
.board
cursor: pointer
- @media screen and (max-width: 767px)
- width: 100%
- margin: 0
#choices
margin: 0 auto 0 auto
#choices
margin: 0 auto 0 auto