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 */
#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;

View File

@ -95,7 +95,7 @@
</div>
{% endif %}
{% 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 %}