From dc0c6230ea98edf51cbe29e926d821b0b5ba0d13 Mon Sep 17 00:00:00 2001 From: Alberto Xamin Date: Sun, 29 Nov 2020 21:32:51 +0100 Subject: [PATCH] fix for smaller screen devices --- frontend/src/components/Lobby.vue | 10 ++++------ frontend/src/components/TinyHand.vue | 2 +- 2 files changed, 5 insertions(+), 7 deletions(-) diff --git a/frontend/src/components/Lobby.vue b/frontend/src/components/Lobby.vue index 912e1ac..7df15f0 100644 --- a/frontend/src/components/Lobby.vue +++ b/frontend/src/components/Lobby.vue @@ -19,7 +19,7 @@ - {{getActionEmoji(p)}} + {{getActionEmoji(p)}}
@@ -239,24 +239,22 @@ export default { top: 0; } .tiny-health { - position: absolute; display: flex; justify-content: space-evenly; - top: -16pt; transform: scale(0.8); - right: 0; - left: 0; + margin-bottom: -4pt; } .tiny-equipment .card:nth-child(n+2) { margin-top: -60pt; } .tiny-character { position: absolute; - transform: scale(0.6) translate(-80px, -50px); + transform: scale(0.5) translate(-80px, -40px); top: 0; } .players-table { display: flex; + flex-wrap: wrap; justify-content: space-evenly; margin-bottom: 12pt; } diff --git a/frontend/src/components/TinyHand.vue b/frontend/src/components/TinyHand.vue index e882dc3..7b82c7e 100644 --- a/frontend/src/components/TinyHand.vue +++ b/frontend/src/components/TinyHand.vue @@ -1,5 +1,5 @@