From 8a3fe730d2a366fc2b731de4dc55169daee14b07 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Kevin=20Midb=C3=B8e?= Date: Wed, 22 Jan 2020 17:35:34 +0100 Subject: [PATCH] Replaced all mobile media queries with scss mixin. --- src/components/VinlottisPage.vue | 2 +- src/ui/PurchaseGraph.vue | 4 +++- src/ui/TotalBought.vue | 5 ++++- src/ui/WinGraph.vue | 4 +++- 4 files changed, 11 insertions(+), 4 deletions(-) diff --git a/src/components/VinlottisPage.vue b/src/components/VinlottisPage.vue index 7d23b65..69a7c70 100644 --- a/src/components/VinlottisPage.vue +++ b/src/components/VinlottisPage.vue @@ -179,7 +179,7 @@ h1 { border-right: 1px solid #333; } -@media only screen and (max-width: 768px) { +@include mobile { .purchase, .win { width: 100vw; diff --git a/src/ui/PurchaseGraph.vue b/src/ui/PurchaseGraph.vue index d8747bc..0a87411 100644 --- a/src/ui/PurchaseGraph.vue +++ b/src/ui/PurchaseGraph.vue @@ -111,6 +111,8 @@ export default {