From f39215ecdddf9ff0b52703d6e8c7b29a3c31768d Mon Sep 17 00:00:00 2001 From: Ian Renton Date: Sat, 19 Sep 2026 08:33:15 +0100 Subject: [PATCH] Attempt at fixing slight hscroll on mobile --- core/constants.py | 2 +- pyproject.toml | 2 +- static/css/style.css | 4 ++-- templates/add_spot.html | 2 +- templates/alerts.html | 2 +- templates/bands.html | 4 ++-- templates/base.html | 10 +++++----- templates/conditions.html | 2 +- templates/map.html | 4 ++-- templates/spots.html | 4 ++-- templates/status.html | 2 +- 11 files changed, 19 insertions(+), 19 deletions(-) diff --git a/core/constants.py b/core/constants.py index 7f427cf..ca27979 100644 --- a/core/constants.py +++ b/core/constants.py @@ -4,7 +4,7 @@ from data.band import Band from data.sig import SIG # General software -SOFTWARE_VERSION = "2.1.1" +SOFTWARE_VERSION = "2.1.2" # HTTP headers used for spot providers that use HTTP HTTP_HEADERS = {"User-Agent": f"Spothole v{SOFTWARE_VERSION} (operated by {SERVER_OWNER_CALLSIGN})"} diff --git a/pyproject.toml b/pyproject.toml index 880285a..00d0938 100644 --- a/pyproject.toml +++ b/pyproject.toml @@ -1,6 +1,6 @@ [project] name = "spothole" -version = "2.1.1" +version = "2.1.2" authors = [ { name = "Ian Renton", email = "ian@ianrenton.com" }, ] diff --git a/static/css/style.css b/static/css/style.css index d3fdc97..e7b94ee 100644 --- a/static/css/style.css +++ b/static/css/style.css @@ -414,8 +414,8 @@ div.band-spot:hover span.band-spot-info { /* Make map stretch to horizontal screen edges */ div#map, div#table-container, div#bands-container { - margin-left: -1em; - margin-right: -1em; + margin-left: -0.75rem; + margin-right: -0.75rem; } /* Avoid map page filters panel being larger than the map itself */ diff --git a/templates/add_spot.html b/templates/add_spot.html index 3d9632a..04db25c 100644 --- a/templates/add_spot.html +++ b/templates/add_spot.html @@ -77,7 +77,7 @@ - + diff --git a/templates/alerts.html b/templates/alerts.html index db16f4b..fd75c6f 100644 --- a/templates/alerts.html +++ b/templates/alerts.html @@ -83,7 +83,7 @@ - + diff --git a/templates/bands.html b/templates/bands.html index 4c6b19d..e3874c3 100644 --- a/templates/bands.html +++ b/templates/bands.html @@ -76,8 +76,8 @@ - - + + diff --git a/templates/base.html b/templates/base.html index 27c8fae..1ed9531 100644 --- a/templates/base.html +++ b/templates/base.html @@ -1,6 +1,6 @@ {% extends "skeleton.html" %} {% block head_extra %} - + @@ -16,10 +16,10 @@ window.fetchEventSource = fetchEventSource; - - - - + + + + {% end %} {% block body %}
diff --git a/templates/conditions.html b/templates/conditions.html index 6722749..af63e4c 100644 --- a/templates/conditions.html +++ b/templates/conditions.html @@ -284,7 +284,7 @@
- + diff --git a/templates/map.html b/templates/map.html index d956aa2..2ee7732 100644 --- a/templates/map.html +++ b/templates/map.html @@ -113,8 +113,8 @@ const CARTODB_API_KEY = "{{ web_ui_options.get('cartodb_api_key', '') }}"; - - + + diff --git a/templates/spots.html b/templates/spots.html index 01cf1f3..9d54019 100644 --- a/templates/spots.html +++ b/templates/spots.html @@ -125,8 +125,8 @@ - - + + diff --git a/templates/status.html b/templates/status.html index cff0984..6403690 100644 --- a/templates/status.html +++ b/templates/status.html @@ -96,7 +96,7 @@ - +