From 097d3ccb3dbd684e3826e21d4bcb17f940b66894 Mon Sep 17 00:00:00 2001 From: danwill Date: Wed, 27 Sep 2023 11:32:55 -0700 Subject: [PATCH 1/2] changed tip-msg class in mapApp/static/mapApp/common.css to better show message telling mobile users to 'double click' to add a new report --- mapApp/static/mapApp/css/common.css | 2 +- mapApp/templates/mapApp/util/draw.html | 6 +++--- 2 files changed, 4 insertions(+), 4 deletions(-) diff --git a/mapApp/static/mapApp/css/common.css b/mapApp/static/mapApp/css/common.css index 4767dbac..34b0b1b7 100755 --- a/mapApp/static/mapApp/css/common.css +++ b/mapApp/static/mapApp/css/common.css @@ -232,7 +232,7 @@ body h1{ /* Mobile info popup on mobile phones */ .tip-msg{ position: absolute; - top: 60px; + top: 80px; left: 0px; right: 0px; height: 23px; diff --git a/mapApp/templates/mapApp/util/draw.html b/mapApp/templates/mapApp/util/draw.html index 07760ff9..f28142de 100755 --- a/mapApp/templates/mapApp/util/draw.html +++ b/mapApp/templates/mapApp/util/draw.html @@ -11,9 +11,9 @@ }); - function desktopDrawing() { + function desktopDrawing() { - /* DRAWING CONTROL TOOLTIPS */ + /* DRAWING CONTROL TOOLTIPS */ L.drawLocal.draw.toolbar.actions.title = "{% trans 'Cancel drawing' %}"; L.drawLocal.draw.toolbar.actions.text = "{% trans 'Cancel' %}"; @@ -246,7 +246,7 @@ {% if request.user_agent.is_mobile %} -
+
×
{% trans "Double tap a location to submit a report" %}
From 20ce790a024839ca571882d9b369e720af2f6dac Mon Sep 17 00:00:00 2001 From: danwill Date: Wed, 27 Sep 2023 15:22:49 -0700 Subject: [PATCH 2/2] removed mb-1 bootstrap class from direction banner element - it wasn't having an effect --- mapApp/templates/mapApp/util/draw.html | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/mapApp/templates/mapApp/util/draw.html b/mapApp/templates/mapApp/util/draw.html index f28142de..f44259cd 100755 --- a/mapApp/templates/mapApp/util/draw.html +++ b/mapApp/templates/mapApp/util/draw.html @@ -246,7 +246,7 @@ {% if request.user_agent.is_mobile %} -
+
×
{% trans "Double tap a location to submit a report" %}