From e51b7d019929d9ff982e5f69b2e5399bf95d0225 Mon Sep 17 00:00:00 2001 From: Mark Jessop Date: Mon, 9 Nov 2020 20:17:53 +1030 Subject: [PATCH] CSS tweaks from tfdhu --- static/css/chasemapper.css | 15 +++++++++++---- 1 file changed, 11 insertions(+), 4 deletions(-) diff --git a/static/css/chasemapper.css b/static/css/chasemapper.css index 61528f0..d87d05f 100644 --- a/static/css/chasemapper.css +++ b/static/css/chasemapper.css @@ -40,15 +40,20 @@ html, body, #map { .paramRow { margin: 5px; + display:flex; + align-items: center; } .paramSelector { - position: absolute; - right: 10px; + display: inline-block; + margin-left: auto; } .paramEntry { - position: absolute; - right: 10px; + display: inline-block; + margin-left: auto; + text-align: right; + padding-right: 0.2em; + width: 10em; } .timeToLanding { @@ -92,12 +97,14 @@ html, body, #map { width:45px; height:45px; font-size:20px; + line-height:45px; } #followCarButton { width:45px; height:45px; font-size:20px; + line-height:45px; }