From 038dcc0b7a8b590b9b63763c9989533c89c5c6dc Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Nicol=C3=B2=20P=2E?= Date: Thu, 13 Jun 2024 18:33:29 +0200 Subject: [PATCH] Add burger + some map responsiveness --- css/app.css | 21 ++------------------- index.html | 10 ++++++++-- js/index.js | 1 + js/ui.js | 8 ++++++++ 4 files changed, 19 insertions(+), 21 deletions(-) diff --git a/css/app.css b/css/app.css index b982113..bf91ca5 100644 --- a/css/app.css +++ b/css/app.css @@ -121,23 +121,6 @@ a:visited { padding-right: 33px; } /* Leaflef map container */ -@media (max-width: 840px) { - .map-sm { - height: 450px; - } -} -@media (min-width: 840px) and (max-width: 960px) { - .map-sm { - height: 600px; - } -} -@media (min-width: 960px) and (max-width: 1280px) { - .map-lg { - height: 700px; - } -} -@media (min-width: 1280px) { - .map-lg { - height: 800px; - } +#map { + height: calc(100vh - 107px); } \ No newline at end of file diff --git a/index.html b/index.html index 5f35856..b52641e 100644 --- a/index.html +++ b/index.html @@ -14,9 +14,15 @@ Carta archeologica di Capri + -