From 62070e2cf3eec1836c51034efe6c1fa4f7b4e9fb Mon Sep 17 00:00:00 2001 From: Spythere Date: Wed, 22 Dec 2021 15:16:31 +0100 Subject: [PATCH] =?UTF-8?q?Poprawki=20w=20dzia=C5=82aniu=20klapek?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/App.vue | 2 +- src/components/Pragotron.vue | 366 ++++++++++++++++++----------------- 2 files changed, 190 insertions(+), 178 deletions(-) diff --git a/src/App.vue b/src/App.vue index cd9d793..30d2b2a 100644 --- a/src/App.vue +++ b/src/App.vue @@ -24,7 +24,7 @@ export default defineComponent({ setup() { const mockStation: StationData = { - stationName: 'Czermin', + stationName: 'Lisków', nameAbbreviation: '', stationCheckpoints: [], }; diff --git a/src/components/Pragotron.vue b/src/components/Pragotron.vue index 6013595..c0bd449 100644 --- a/src/components/Pragotron.vue +++ b/src/components/Pragotron.vue @@ -2,7 +2,9 @@
- ODJAZDY + +
{{ selectedStation.stationName.toUpperCase() }}
+
DO STACJI @@ -18,15 +20,17 @@
-
- {{ departure.routeTo.toUpperCase() }} +
+ {{ abbrevStationName(departure.tableValues.routeTo) }}
-
{{ departure.routeVia.toUpperCase() }}
+
+ {{ abbrevStationName(departure.tableValues.routeVia) }} +
@@ -81,15 +85,17 @@ @@ -315,7 +323,7 @@ export default defineComponent({ .slot-anim { &-enter-active, &-leave-active { - transition: all 80ms ease-in; + transition: all 50ms ease-in-out; } &-enter-from, @@ -354,7 +362,11 @@ export default defineComponent({ .top-pane { background: white; - height: 130px; + height: 180px; + + display: flex; + flex-direction: column; + justify-content: space-between; .title { padding: 0; @@ -419,7 +431,7 @@ export default defineComponent({ .slider-slot { background: #010101; - width: 80%; + width: 85%; height: 2em; line-height: 2em; }