1
0
forked from orson/bachemap

fixed map sizing-display

This commit is contained in:
Orson 2025-04-14 14:05:13 -06:00
parent af52eb6e54
commit c8bcebf647
2 changed files with 12 additions and 10 deletions

View File

@ -48,26 +48,28 @@ h1::after {
/* Layout */ /* Layout */
#map { #map {
width: 100%; width: 100vw;
height: 100vh; height: 100vh;
position: static !important; position: absolute;
top: 0;
left: 0;
z-index: 1; /* Ensure it is behind other elements */
} }
main { main {
margin: 0; margin: 0;
padding: 0; padding: 0;
position: absolute; position: relative;
top: 10vh; z-index: 5; /* Ensure it is above the map */
left: 0;
display: flex; display: flex;
flex-direction: column;
justify-content: flex-start;
align-items: center; align-items: center;
justify-content: center;
/* height: 100vh; */
width: 100vw; width: 100vw;
z-index: 5; height: 100vh;
overflow: hidden; /* Prevent scrollbars */
} }
footer { footer {
position: fixed; position: fixed;
bottom: 0; bottom: 0;

View File

@ -95,7 +95,7 @@
</div> </div>
{% endif %} {% endif %}
{% endwith %} {% endwith %}
<main class="container-fluid" style="padding-top: 10rem;height: 100vh; width:100vw; z-index: 5; position: static; display: block;"> <main class="container-fluid" >
{% block content %} {% block content %}