From c07d18e1403c4180b56d4523369a5d1bfdd8229b Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Kasper=20Rynning-T=C3=B8nnesen?= Date: Tue, 21 Jan 2020 11:24:57 +0100 Subject: [PATCH] Mobile --- .gitignore | 2 ++ public/index.html | 9 +++------ src/components/VinlottisPage.vue | 22 +++++++++++++++++++--- src/templates/Create.html | 5 +---- 4 files changed, 25 insertions(+), 13 deletions(-) diff --git a/.gitignore b/.gitignore index 6704566..dfa6950 100644 --- a/.gitignore +++ b/.gitignore @@ -1,3 +1,5 @@ +.DS_Store + # Logs logs *.log diff --git a/public/index.html b/public/index.html index 43ee0be..403f39d 100644 --- a/public/index.html +++ b/public/index.html @@ -2,12 +2,9 @@ Vinlottis - + +
- - - - - + diff --git a/src/components/VinlottisPage.vue b/src/components/VinlottisPage.vue index 3ed8961..1504fce 100644 --- a/src/components/VinlottisPage.vue +++ b/src/components/VinlottisPage.vue @@ -2,9 +2,7 @@

Knowit Vinlottis

- Klarer du ikke velge lodd-farger? + Klarer du ikke velge lodd-farger?
@@ -67,4 +65,22 @@ h1 { width: 45vw; display: inline-block; } + +@media only screen and (max-width: 768px) { + .purchase, + .win { + width: 100vw; + } + + .chart-container { + display: flex; + flex-direction: column; + justify-content: center; + align-items: center; + } + + .outer { + justify-content: flex-start; + } +} diff --git a/src/templates/Create.html b/src/templates/Create.html index 7dfb15d..3b9572e 100644 --- a/src/templates/Create.html +++ b/src/templates/Create.html @@ -2,12 +2,9 @@ Vinlottis +
- - <% for (var chunk in htmlWebpackPlugin.files.chunks) { %> - - <% } %>