projects
/
vchess.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Some small enhancements and fixes
[vchess.git]
/
client
/
src
/
views
/
Game.vue
diff --git
a/client/src/views/Game.vue
b/client/src/views/Game.vue
index
fe613ec
..
d920053
100644
(file)
--- a/
client/src/views/Game.vue
+++ b/
client/src/views/Game.vue
@@
-11,7
+11,7
@@
main
.card
label.modal-close(for="modalChat")
#participants
.card
label.modal-close(for="modalChat")
#participants
- span {{
Object.keys(people).length + " " + st.tr["p
articipant(s):"] }}
+ span {{
st.tr["P
articipant(s):"] }}
span(
v-for="p in Object.values(people)"
v-if="p.focus && !!p.name"
span(
v-for="p in Object.values(people)"
v-if="p.focus && !!p.name"
@@
-1183,6
+1183,8
@@
export default {
position: position,
orientation: V.CanFlip ? this.game.mycolor : "w"
});
position: position,
orientation: V.CanFlip ? this.game.mycolor : "w"
});
+ document.querySelector("#confirmDiv > .card").style.width =
+ boardDiv.offsetWidth + "px";
} else {
// Incomplete information: just ask confirmation
// Hide the board, because otherwise it could reveal infos
} else {
// Incomplete information: just ask confirmation
// Hide the board, because otherwise it could reveal infos
@@
-1340,8
+1342,6
@@
span.yourturn
.diagram
margin: 0 auto
.diagram
margin: 0 auto
- max-width: 400px
- // width: 100% required for Firefox
width: 100%
#buttonsConfirm
width: 100%
#buttonsConfirm