projects
/
vchess.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Convert all remaining tabs by 2spaces
[vchess.git]
/
client
/
src
/
components
/
Board.vue
diff --git
a/client/src/components/Board.vue
b/client/src/components/Board.vue
index
eb9e6e4
..
1b7fd6b
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;
@@
-369,7
+363,7
@@
export default {
};
</script>
};
</script>
-<style lang="sass">
+<style lang="sass"
scoped
>
.game.reserve-div
margin-bottom: 18px
.game.reserve-div
margin-bottom: 18px
@@
-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