Merge pull request #1380 from Freika/revert-1350-fix_viewport

Revert "fix map container height to fit viewport"
This commit is contained in:
Evgenii Burmakin 2025-06-09 11:21:05 +02:00 committed by GitHub
commit 8d464214c3
No known key found for this signature in database
GPG key ID: B5690EEEBB952194
2 changed files with 1 additions and 6 deletions

View file

@ -103,8 +103,3 @@
margin-bottom: 1rem;
width: 100%;
}
.map-container-full-height {
/* 100vh - navbar height - footer height */
height: calc(100vh - 165px - 120px);
}

View file

@ -72,7 +72,7 @@
data-distance="<%= @distance %>"
data-points_number="<%= @points_number %>"
data-timezone="<%= Rails.configuration.time_zone %>">
<div data-maps-target="container" class="map-container-full-height rounded-lg w-full z-0">
<div data-maps-target="container" class="h-[25rem] rounded-lg w-full min-h-screen z-0">
<div id="fog" class="fog"></div>
</div>
</div>