From 8b2a0bc231b28a5a850f7fd188adca7b929a92f5 Mon Sep 17 00:00:00 2001 From: Jen Jones Arnesen Date: Mon, 11 Sep 2023 14:05:29 +0200 Subject: [PATCH] fix: simplify height calc --- src/components/map/MapPosition.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/components/map/MapPosition.js b/src/components/map/MapPosition.js index deed3fc85..67a821e5e 100644 --- a/src/components/map/MapPosition.js +++ b/src/components/map/MapPosition.js @@ -30,7 +30,7 @@ const MapPosition = () => { if (!downloadMode) { if (dataTableOpen) { mapHeight = `calc(100vh - ${HEADER_HEIGHT}px - ${APP_MENU_HEIGHT}px - ${dataTableHeight}px)` - } else if (!downloadMode) { + } else { mapHeight = `calc(100vh - ${HEADER_HEIGHT}px - ${APP_MENU_HEIGHT}px)` } }