diff --git a/app/config.py b/app/config.py index 02fa62e..0ffa436 100644 --- a/app/config.py +++ b/app/config.py @@ -85,7 +85,7 @@ DEFAULTS = { }, 'flip_y': False, 'image_size': {'width': 8000, 'height': 8000}, - 'default_zoom': 0.15 + 'default_zoom': 1.0 }, 'HaggaBasin': { 'image': 'maps/HaggaBasin_8k.webp', @@ -98,7 +98,7 @@ DEFAULTS = { }, 'flip_y': False, 'image_size': {'width': 8000, 'height': 8000}, - 'default_zoom': 0.15 + 'default_zoom': 1.0 } }, } diff --git a/templates/map.html b/templates/map.html index 6b3e36f..e7e4069 100644 --- a/templates/map.html +++ b/templates/map.html @@ -75,8 +75,6 @@ height: 100%; overflow: auto; cursor: grab; - position: relative; - z-index: 1; } .map-scroll.dragging { @@ -89,18 +87,16 @@ margin: 24px; background: #0d0f0f; box-shadow: 0 10px 34px rgba(0, 0, 0, 0.35); - display: inline-block; } .map-image { - position: relative; + position: absolute; + inset: 0; width: 100%; height: 100%; object-fit: contain; user-select: none; pointer-events: none; - display: block; - transform-origin: top left; } .map-image-credit { @@ -430,7 +426,7 @@