From c294b60b5ad7d9b6423d63080b724f5db5ade737 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Andr=C3=A9=20Wahlberg?= Date: Fri, 11 Dec 2020 19:05:47 +0100 Subject: [PATCH] Minor layout adjustments --- src/components/css/TrafficInfo.css | 11 +++++++---- 1 file changed, 7 insertions(+), 4 deletions(-) diff --git a/src/components/css/TrafficInfo.css b/src/components/css/TrafficInfo.css index abfb678..b1b898f 100644 --- a/src/components/css/TrafficInfo.css +++ b/src/components/css/TrafficInfo.css @@ -39,7 +39,7 @@ .trafficEntry div p { text-align: left; - padding: 3vh 0 0 0; + padding: 2vh 0 0 0; } .trafficEntry div div { @@ -54,6 +54,10 @@ align-items: flex-end; } +.timeColumn div:first-child, .lineColumn div:first-child { + height: 5.5vh; +} + .timeColumn { flex-basis: 20%; justify-content: flex-start !important; @@ -78,9 +82,8 @@ } .lineColumn img { - flex-basis: 20%; + flex-basis: 25%; height: 9vw; - margin-right: 5%; } .infoWrapper p { @@ -112,10 +115,10 @@ font-family: 'Roboto Light'; height: 7vw; flex-basis: 35%; - margin-right: 5%; } .destination { + flex-basis: 40%; height: 9vw; font-size: 4vw; text-align: left;