From f4d6a3e684e7ae6566c0f341698b4a1ae6988d1b Mon Sep 17 00:00:00 2001 From: Adrien Date: Sat, 28 Jan 2023 16:38:42 +0100 Subject: [PATCH] =?UTF-8?q?=F0=9F=92=84=20Fix=20the=20Metro=20picto=20rend?= =?UTF-8?q?ering?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit No metro picto was displayed... lack of metroLinePicto CSS class. --- frontend/src/passagesDisplay.module.css | 1 + frontend/src/passagesPanel.module.css | 6 ++++++ 2 files changed, 7 insertions(+) diff --git a/frontend/src/passagesDisplay.module.css b/frontend/src/passagesDisplay.module.css index 49f0e39..6c92b9e 100644 --- a/frontend/src/passagesDisplay.module.css +++ b/frontend/src/passagesDisplay.module.css @@ -26,6 +26,7 @@ } .header .transportMode { + aspect-ratio: 1/1; height: 100%; margin: 0; margin-right: calc(23/1920*100%); diff --git a/frontend/src/passagesPanel.module.css b/frontend/src/passagesPanel.module.css index 0637557..76bc77d 100644 --- a/frontend/src/passagesPanel.module.css +++ b/frontend/src/passagesPanel.module.css @@ -57,6 +57,12 @@ margin-right: calc(23/1920*100%); } +.metroLinePicto { + aspect-ratio : 1 / 1; + height: calc(100/176*100%); + margin-right: calc(23/1920*100%); +} + .destination { height: calc(60/176*100%); width: 50%;