From 1a48d178ca1cd4d5aed3b9cf53d99be6af41d7d3 Mon Sep 17 00:00:00 2001 From: Ian Renton Date: Sat, 26 Sep 2026 18:18:21 +0100 Subject: [PATCH] Activities spacing on mobile --- data/activities.py | 2 -- static/css/style.css | 2 +- 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 +- 10 files changed, 16 insertions(+), 18 deletions(-) diff --git a/data/activities.py b/data/activities.py index 40bcd06..72c3dec 100644 --- a/data/activities.py +++ b/data/activities.py @@ -504,7 +504,6 @@ ACTIVITIES: dict[ActivityName, Activity] = { ref_type=ActivityRefType.WATERWAY, comment_names=["BIWOTA"], icon="fa-ship", - region_flag="🇬🇧", ), ActivityName.TOILETS: Activity( name=ActivityName.TOILETS, @@ -516,6 +515,5 @@ ACTIVITIES: dict[ActivityName, Activity] = { ref_regex=r"T\-[0-9]{2}", comment_names=[], icon="fa-toilet", - region_flag="🏴‍☠️", ), } diff --git a/static/css/style.css b/static/css/style.css index 3977ead..f575a34 100644 --- a/static/css/style.css +++ b/static/css/style.css @@ -483,7 +483,7 @@ div.band-spot:hover span.band-spot-info { /* Free up extra space in activity filter */ div.filter-section-body { - padding-left: 0.5em; + padding-left: 0; } } diff --git a/templates/add-spot.html b/templates/add-spot.html index 766d668..4a974ec 100644 --- a/templates/add-spot.html +++ b/templates/add-spot.html @@ -136,7 +136,7 @@ const ALLOW_UPSTREAM_SPOTTING = {% raw safe_json_dumps(web_ui_options["allow_upstream_spotting"]) %}; - + diff --git a/templates/alerts.html b/templates/alerts.html index 5a6bf4d..9de9b11 100644 --- a/templates/alerts.html +++ b/templates/alerts.html @@ -87,7 +87,7 @@ - + diff --git a/templates/bands.html b/templates/bands.html index 8a71115..5f01654 100644 --- a/templates/bands.html +++ b/templates/bands.html @@ -82,8 +82,8 @@ const BANDS = {% raw safe_json_dumps(options["bands"]) %}; - - + + diff --git a/templates/base.html b/templates/base.html index 7c4c35e..9ee2677 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 14980df..b9d0e7f 100644 --- a/templates/conditions.html +++ b/templates/conditions.html @@ -284,7 +284,7 @@
- + diff --git a/templates/map.html b/templates/map.html index 82448e3..efdae6e 100644 --- a/templates/map.html +++ b/templates/map.html @@ -115,8 +115,8 @@ const CARTODB_API_KEY = "{{ web_ui_options.get('cartodb_api_key', '') }}"; - - + + diff --git a/templates/spots.html b/templates/spots.html index 2130743..dedd8a3 100644 --- a/templates/spots.html +++ b/templates/spots.html @@ -127,8 +127,8 @@ - - + + diff --git a/templates/status.html b/templates/status.html index 4a46c9f..6883a97 100644 --- a/templates/status.html +++ b/templates/status.html @@ -96,7 +96,7 @@ - +