From e081eb11436f28e2abdc015cf819742ad68d396d Mon Sep 17 00:00:00 2001 From: Elliott Rose Date: Thu, 11 May 2023 15:21:42 +0200 Subject: [PATCH] Fix info popup caret covering date slider on was and prob maps. Fix typo on eval text. Fix formatting issue for obs/vis popups. --- assets/style.css | 2 +- data_handler.py | 2 +- tabs/evaluation.py | 2 +- 3 files changed, 3 insertions(+), 3 deletions(-) diff --git a/assets/style.css b/assets/style.css index 165e4ac..a6bed13 100644 --- a/assets/style.css +++ b/assets/style.css @@ -1016,7 +1016,7 @@ td.column-0 { color: white; position: absolute; top: 59px; - left: 7px; + left: 15px; font-size: xxx-large; } diff --git a/data_handler.py b/data_handler.py index eb9c295..c1186be 100644 --- a/data_handler.py +++ b/data_handler.py @@ -1334,7 +1334,7 @@ class VisFigureHandler(object): lon=item['lon'], station=item['stat'], visibility=float(item['visibility']/1e3), - humidity=(item['humidity'] not in (False, '') and "
RELATIVE HUMIDITY: {} %".format(int(float(item['humidity']))) or '') + humidity=(item['humidity'] not in (False, '') and "
RELATIVE HUMIDITY: {}%".format(int(float(item['humidity']))) or '') ) geojson = dlx.dicts_to_geojson(dicts, lon="lon") diff --git a/tabs/evaluation.py b/tabs/evaluation.py index cd9c4ac..ca41a4f 100644 --- a/tabs/evaluation.py +++ b/tabs/evaluation.py @@ -207,7 +207,7 @@ def tab_evaluation(window='nrt'): html.Span( html.P([ """The accuracy of the forecast can be quantified by comparing it to observations and is presented by a set of statistics (skill scores).""", - html.B("""Here, you can use the selection menu to explore the skill scores results, based on the selected observation dataset."""), + html.B(""" Here, you can use the selection menu to explore the skill scores results, based on the selected observation dataset."""), ]), className="description-body" ), -- GitLab