From fdd2dd1b40ddad469da633f40fc52de5d9e6eca6 Mon Sep 17 00:00:00 2001 From: Jakob Ketterl Date: Thu, 11 Jul 2019 17:38:53 +0200 Subject: [PATCH] use flexbox since the header breaks the map height --- htdocs/css/map.css | 15 +++++++++++---- 1 file changed, 11 insertions(+), 4 deletions(-) diff --git a/htdocs/css/map.css b/htdocs/css/map.css index 7595ab7..57a7836 100644 --- a/htdocs/css/map.css +++ b/htdocs/css/map.css @@ -6,10 +6,17 @@ max-height: 67px; } -html, body, .openwebrx-map { - width: 100%; - height: 100%; - margin: 0; +body { + display: flex; + flex-direction: column; +} + +#webrx-top-container { + flex: none; +} + +.openwebrx-map { + flex: 1 1 auto; } h3 {