X-Git-Url: https://git.auder.net/?a=blobdiff_plain;f=client%2Fsrc%2Fviews%2FGame.vue;h=d6c8599d203972ef0ae002767885559b3b4a8009;hb=ec905cbcf0b554a430bd0ac6c386f6414bea2cad;hp=a79cf803fd3a1600c6cc2e9535ea553e0f16eb94;hpb=d8b1800bcec983faabc34bdb1057ef880488a160;p=vchess.git diff --git a/client/src/views/Game.vue b/client/src/views/Game.vue index a79cf803..d6c8599d 100644 --- a/client/src/views/Game.vue +++ b/client/src/views/Game.vue @@ -343,13 +343,10 @@ export default { this.drawOffer = "received"; break; case "newchat": - { - const chat = data.data; - this.newChat = chat; + this.newChat = data.data; if (!document.getElementById("modalChat").checked) document.getElementById("chatBtn").style.backgroundColor = "#c5fefe"; break; - } } }, socketCloseListener: function() { @@ -709,6 +706,9 @@ export default { color: grey font-style: italic +#playersInfo > p + margin: 0 + @media screen and (min-width: 768px) #actions width: 300px @@ -718,7 +718,7 @@ export default { #actions display: inline-block - margin-top: 10px + margin: 0 button display: inline-block margin: 0