From c838fb12b11a353bf44775c9cc6fcd0019a39049 Mon Sep 17 00:00:00 2001 From: Martin Asprusten Date: Wed, 2 Jul 2025 23:41:01 +0200 Subject: [PATCH] Make it look slightly better on mobile again --- .gitignore | 1 + src/style.css | 10 +++++++--- 2 files changed, 8 insertions(+), 3 deletions(-) diff --git a/.gitignore b/.gitignore index c3e3c1d..a15b531 100644 --- a/.gitignore +++ b/.gitignore @@ -3,3 +3,4 @@ dist/ native/* node_modules/ !native/route_search.cpp +*.sh diff --git a/src/style.css b/src/style.css index 0dc070a..c0d8674 100644 --- a/src/style.css +++ b/src/style.css @@ -56,7 +56,7 @@ p { } table { - width: max(60vw, 800px); + width: min(92vw, 800px); margin-left: auto; margin-right: auto; border: solid 1px; @@ -66,7 +66,7 @@ table { th { border: solid 1px; - width: max(15vw, 200px); + width: min(23vw, 200px); } td { @@ -79,7 +79,11 @@ td { } table { - width: max(30vw, 400px); + width: min(90vw, 400px); + } + + th { + width: min(45vw, 200px); } #settings-div {