diff --git a/static/styles.css b/static/styles.css index f41eb05..d1f89fa 100644 --- a/static/styles.css +++ b/static/styles.css @@ -48,26 +48,28 @@ h1::after { /* Layout */ #map { - width: 100%; + width: 100vw; height: 100vh; - position: static !important; + position: absolute; + top: 0; + left: 0; + z-index: 1; /* Ensure it is behind other elements */ } main { margin: 0; padding: 0; - position: absolute; - top: 10vh; - left: 0; + position: relative; + z-index: 5; /* Ensure it is above the map */ display: flex; + flex-direction: column; + justify-content: flex-start; align-items: center; - justify-content: center; - /* height: 100vh; */ width: 100vw; - z-index: 5; + height: 100vh; + overflow: hidden; /* Prevent scrollbars */ } - footer { position: fixed; bottom: 0; diff --git a/templates/base.html b/templates/base.html index 04fe98e..4ede507 100644 --- a/templates/base.html +++ b/templates/base.html @@ -95,7 +95,7 @@ {% endif %} {% endwith %} -
+
{% block content %}