From 903133fc33350f49b8f600cfc8e773c8d4e8f0a7 Mon Sep 17 00:00:00 2001 From: Spythere Date: Tue, 7 Jun 2022 11:42:56 +0200 Subject: [PATCH] =?UTF-8?q?Poprawiono=20responsywno=C5=9B=C4=87?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/components/StationsView/StationTable.vue | 57 +++++++++++--------- src/components/TrainsView/TrainSchedule.vue | 6 +-- 2 files changed, 33 insertions(+), 30 deletions(-) diff --git a/src/components/StationsView/StationTable.vue b/src/components/StationsView/StationTable.vue index e5dd5a9..10f527d 100644 --- a/src/components/StationsView/StationTable.vue +++ b/src/components/StationsView/StationTable.vue @@ -48,10 +48,7 @@ @keydown.space="openForumSite($event, station.generalInfo?.url)" tabindex="0" > - + {{ station.generalInfo.project }} {{ station.name }} @@ -144,22 +141,16 @@ - - - - - + v-html="getControlTypeAbbrev(station.generalInfo.controlType)" + > + + + SUP (RASP-UZK) + + + + + - icon-unknown + + icon-unknown @@ -414,7 +411,8 @@ tr.station { @include smallScreen() { margin: 0; - padding: 0.1em 0.5em; + padding: 0.3em 0.5em; + font-size: 1.1em; } } } @@ -463,20 +461,26 @@ td.station { &_info { display: flex; + align-items: center; justify-content: center; + /* Images */ .icon-info { - font-size: 0.8rem; - width: 2rem; - height: 2rem; + display: flex; + justify-content: center; + align-items: center; - line-height: 2rem; + width: 32px; + height: 32px; + font-size: 12px; margin: 0 0.2em; - vertical-align: middle; outline: 2px solid #444; border-radius: 0.5em; + + @include smallScreen() { + } } } @@ -519,4 +523,5 @@ td.station { background: #333; } + diff --git a/src/components/TrainsView/TrainSchedule.vue b/src/components/TrainsView/TrainSchedule.vue index 72f101f..1058d28 100644 --- a/src/components/TrainsView/TrainSchedule.vue +++ b/src/components/TrainsView/TrainSchedule.vue @@ -1,4 +1,3 @@ -p