From 26d5d59b1b7301dc14961f33f49a7605d35bf2bd Mon Sep 17 00:00:00 2001 From: James Lyne Date: Thu, 23 Jun 2022 20:46:00 +0100 Subject: [PATCH] Start moving leaflet controls to vue --- src/App.vue | 6 +- src/components/Map.vue | 46 +------- src/components/MapUI.vue | 216 ++++++++++++++++++++++++++++++++++++ src/scss/_mixins.scss | 1 + src/scss/_placeholders.scss | 1 - src/scss/style.scss | 2 +- 6 files changed, 225 insertions(+), 47 deletions(-) create mode 100644 src/components/MapUI.vue diff --git a/src/App.vue b/src/App.vue index 8172da1..eaa3539 100644 --- a/src/App.vue +++ b/src/App.vue @@ -15,7 +15,9 @@ --> - + + + diff --git a/src/scss/_mixins.scss b/src/scss/_mixins.scss index a1dbb03..a4d3342 100644 --- a/src/scss/_mixins.scss +++ b/src/scss/_mixins.scss @@ -40,6 +40,7 @@ user-select: none; padding: 0.8rem 0.8rem 0.7rem; line-height: 2rem; + letter-spacing: 0.02rem; -webkit-tap-highlight-color: transparent; .svg-icon { diff --git a/src/scss/_placeholders.scss b/src/scss/_placeholders.scss index 4ea638d..78bbc91 100644 --- a/src/scss/_placeholders.scss +++ b/src/scss/_placeholders.scss @@ -53,5 +53,4 @@ display: flex; flex-direction: column; padding: 1.5rem; - position: relative; } diff --git a/src/scss/style.scss b/src/scss/style.scss index a1c0c04..81bd197 100644 --- a/src/scss/style.scss +++ b/src/scss/style.scss @@ -79,7 +79,7 @@ a { color: var(--text-base); } -button, [type=button] { +button, input[type=button], input[type=reset], input[type=submit] { @extend %button; }