From d490236456c0d54cb399f728ebb47839538b10df Mon Sep 17 00:00:00 2001 From: Adrien Date: Mon, 30 Jan 2023 22:08:54 +0100 Subject: [PATCH] =?UTF-8?q?=F0=9F=92=84=20Force=20root=20div=20to=20fit=20?= =?UTF-8?q?its=20content=20(all=20height=20before)?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- frontend/src/index.css | 2 +- frontend/src/stopsManager.tsx | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/frontend/src/index.css b/frontend/src/index.css index 5bfd736..6bfcd49 100644 --- a/frontend/src/index.css +++ b/frontend/src/index.css @@ -16,6 +16,7 @@ body { aspect-ratio: 16/9; width: 100vw; + height: none; margin: 0; @@ -23,6 +24,5 @@ body { } #root { - height: inherit; width: inherit; } diff --git a/frontend/src/stopsManager.tsx b/frontend/src/stopsManager.tsx index e113fb8..2d36b3f 100644 --- a/frontend/src/stopsManager.tsx +++ b/frontend/src/stopsManager.tsx @@ -209,7 +209,7 @@ export const StopsManager: VoidComponent = () => { const items = []; for (const stop of foundStops().sort((x, y) => x.name.localeCompare(y.name))) { items.push( - +