diff --git a/app/config.py b/app/config.py index 02fa62e..f50eaf9 100644 --- a/app/config.py +++ b/app/config.py @@ -91,10 +91,10 @@ DEFAULTS = { 'image': 'maps/HaggaBasin_8k.webp', 'label': 'Hagga Basin', 'bounds': { - 'min_x': 21352, - 'max_x': 23166, - 'min_y': 233981, - 'max_y': 237943 + 'min_x': -456752.21, + 'max_x': 354547.46, + 'min_y': -450630.14, + 'max_y': 353821.95 }, 'flip_y': False, 'image_size': {'width': 8000, 'height': 8000}, diff --git a/templates/map.html b/templates/map.html index 377d23a..754f5cd 100644 --- a/templates/map.html +++ b/templates/map.html @@ -87,16 +87,19 @@ margin: 24px; background: #0d0f0f; box-shadow: 0 10px 34px rgba(0, 0, 0, 0.35); + display: inline-block; + min-width: 100%; + min-height: 100%; } .map-image { position: absolute; - inset: 0; + top: 0; + left: 0; width: 100%; height: 100%; object-fit: contain; user-select: none; - pointer-events: none; } .map-image-credit {