usability fixes for small screens

This commit is contained in:
Alberto Xamin 2021-06-20 20:06:13 +02:00
parent b2ea62bce9
commit f11f5dde0a
No known key found for this signature in database
GPG Key ID: 4F026F48309500A2

View File

@ -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;