From aaec23d210533be2144bd4be7c26aab7a3512f54 Mon Sep 17 00:00:00 2001 From: Spythere Date: Wed, 13 Jul 2022 16:34:38 +0200 Subject: [PATCH] =?UTF-8?q?Poprawiono=20wygl=C4=85d=20modalu=20RJ?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/App.scss | 7 +- src/App.vue | 141 ++++++++++---------- src/components/Global/TrainModal.vue | 123 ++++++++++------- src/components/TrainsView/TrainSchedule.vue | 1 - 4 files changed, 145 insertions(+), 127 deletions(-) diff --git a/src/App.scss b/src/App.scss index 89e94db..324d57f 100644 --- a/src/App.scss +++ b/src/App.scss @@ -27,7 +27,7 @@ } // APP -.app { +#app { color: white; font-size: 1rem; @@ -40,8 +40,8 @@ .app_container { display: flex; flex-flow: column; - height: 100vh; - min-height: 800px; + + min-height: 100vh; header { flex: 0 0 auto; @@ -213,7 +213,6 @@ font-weight: bold; padding: 0.1em 0.5em; color: paleturquoise; - } .options { diff --git a/src/App.vue b/src/App.vue index 3b8ee71..119bae9 100644 --- a/src/App.vue +++ b/src/App.vue @@ -1,83 +1,81 @@ @@ -129,7 +127,8 @@ export default defineComponent({ return this.options.regions.map((region) => { const regionStationCount = this.store.apiData.stations?.filter((station) => station.region == region.id && station.isOnline).length || 0; - const regionTrainCount = this.store.apiData.trains?.filter((train) => train.region == region.id && train.online).length || 0; + const regionTrainCount = + this.store.apiData.trains?.filter((train) => train.region == region.id && train.online).length || 0; return { id: region.id, diff --git a/src/components/Global/TrainModal.vue b/src/components/Global/TrainModal.vue index b22230c..056870c 100644 --- a/src/components/Global/TrainModal.vue +++ b/src/components/Global/TrainModal.vue @@ -1,28 +1,28 @@