From da00c7735e2b54da96ebf282ab3f5945a788b604 Mon Sep 17 00:00:00 2001 From: KevinMidboe Date: Mon, 12 Oct 2020 00:05:34 +0200 Subject: [PATCH 1/3] Moved duplicate container & h1 styling to global. --- src/components/AllWinesPage.vue | 22 +------------------ src/components/GeneratePage.vue | 19 +++++++---------- src/components/HighscorePage.vue | 19 ----------------- src/components/PersonalHighscorePage.vue | 18 ---------------- src/components/VinlottisPage.vue | 7 +++++- src/components/WinnerPage.vue | 5 +++++ src/styles/global.scss | 27 ++++++++++++++++++++++++ src/ui/RaffleGenerator.vue | 8 +------ 8 files changed, 48 insertions(+), 77 deletions(-) diff --git a/src/components/AllWinesPage.vue b/src/components/AllWinesPage.vue index 24cad15..e4c63ec 100644 --- a/src/components/AllWinesPage.vue +++ b/src/components/AllWinesPage.vue @@ -66,23 +66,7 @@ export default { @import "./src/styles/variables"; .container { - width: 90vw; - margin: 3rem auto; - margin-bottom: 0; - padding-bottom: 4rem; -} - -h1 { - font-size: 3rem; - font-family: "knowit"; - font-weight: normal; - - font-family: knowit, Arial; - margin-bottom: 25px; -} - -.label { - font-weight: 600; + max-width: unset; } #wines-container { @@ -91,10 +75,6 @@ h1 { justify-content: space-evenly; align-items: flex-start; - @include desktop { - margin: 0 2rem; - } - > div { justify-content: flex-start; } diff --git a/src/components/GeneratePage.vue b/src/components/GeneratePage.vue index e149888..037a03d 100644 --- a/src/components/GeneratePage.vue +++ b/src/components/GeneratePage.vue @@ -1,6 +1,6 @@