Merge pull request #469 from poldixd/patch-1

Reset z-index on leaflet map
This commit is contained in:
Evgenii Burmakin 2024-12-02 12:34:17 +01:00 committed by GitHub
commit 6f5596017e
No known key found for this signature in database
GPG key ID: B5690EEEBB952194
4 changed files with 6 additions and 6 deletions

File diff suppressed because one or more lines are too long

View file

@ -44,7 +44,7 @@
<div
id='map'
class="w-full"
class="w-full z-0"
data-controller="maps points"
data-points-target="map"
data-distance_unit="<%= DISTANCE_UNIT %>"

View file

@ -10,7 +10,7 @@
<div style="width: 100%; aspect-ratio: 1/1;"
id="map-<%= trip.id %>"
class="rounded-lg"
class="rounded-lg z-0"
data-controller="trip-map"
data-trip-map-trip-id-value="<%= trip.id %>"
data-trip-map-coordinates-value="<%= trip.points.pluck(:latitude, :longitude, :battery, :altitude, :timestamp, :velocity, :id, :country).to_json %>"

View file

@ -18,7 +18,7 @@
<div class="w-full">
<div
id='map'
class="w-full h-full rounded-lg"
class="w-full h-full rounded-lg z-0"
data-controller="trips"
data-trips-target="container"
data-distance_unit="<%= DISTANCE_UNIT %>"