From f11f5dde0a7fe961219bc8c8f6f93ff3c258a9cf Mon Sep 17 00:00:00 2001 From: Alberto Xamin Date: Sun, 20 Jun 2021 20:06:13 +0200 Subject: [PATCH] usability fixes for small screens --- frontend/src/components/Deck.vue | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/frontend/src/components/Deck.vue b/frontend/src/components/Deck.vue index 4c2e81f..f653a15 100644 --- a/frontend/src/components/Deck.vue +++ b/frontend/src/components/Deck.vue @@ -149,6 +149,11 @@ export default { this.goldRushDesc = this.$t(`cards.${card.name}.desc`) }, }, + mounted() { + if (window.innerWidth < 1000) { + this.goldRushShopOpen = false; + } + }, watch: { lastScrap(newVal, old) { this.previousScrap = old @@ -164,6 +169,7 @@ export default { align-items: center; justify-content: center; flex-direction: row-reverse; + flex-wrap: wrap-reverse; } .last-scrap { position: absolute;