From a752d079115b4ed284fc6d6822ba0e0624a19a03 Mon Sep 17 00:00:00 2001 From: Bryan Lancien Date: Thu, 16 May 2024 13:43:57 +0100 Subject: [PATCH 1/2] add left or right tooltip placements --- .../static/scss/base/_variable_overrides.scss | 3 +++ digiplan/templates/components/map.html | 16 ++++++++-------- digiplan/templates/components/panel_2_today.html | 2 +- .../templates/components/panel_5_results.html | 2 +- digiplan/templates/widgets/info_button.html | 2 +- 5 files changed, 14 insertions(+), 11 deletions(-) diff --git a/digiplan/static/scss/base/_variable_overrides.scss b/digiplan/static/scss/base/_variable_overrides.scss index 5c9ed8ba..f83ead54 100644 --- a/digiplan/static/scss/base/_variable_overrides.scss +++ b/digiplan/static/scss/base/_variable_overrides.scss @@ -429,6 +429,9 @@ $navbar-light-toggler-border-color: none; // Tooltips // scss-docs-start tooltip-variables +$tooltip-max-width: 32rem; +$tooltip-padding-y: 0.75rem; +$tooltip-padding-x: 0.75rem; // scss-docs-end tooltip-variables // Form tooltips must come after regular tooltips diff --git a/digiplan/templates/components/map.html b/digiplan/templates/components/map.html index 0f7c651d..4c2ad107 100644 --- a/digiplan/templates/components/map.html +++ b/digiplan/templates/components/map.html @@ -352,7 +352,7 @@

EmPowerPlan-Tool+
diff --git a/digiplan/templates/components/panel_5_results.html b/digiplan/templates/components/panel_5_results.html index d87006cf..5e384570 100644 --- a/digiplan/templates/components/panel_5_results.html +++ b/digiplan/templates/components/panel_5_results.html @@ -80,7 +80,7 @@

- Info Icon + Info Icon

diff --git a/digiplan/templates/widgets/info_button.html b/digiplan/templates/widgets/info_button.html index 56ca0536..f0d71df7 100644 --- a/digiplan/templates/widgets/info_button.html +++ b/digiplan/templates/widgets/info_button.html @@ -1,2 +1,2 @@ {% load static %} -Info Icon +Info Icon From 1ff8fbf88b269d650b14821247cb210300e97842 Mon Sep 17 00:00:00 2001 From: Bryan Lancien Date: Thu, 16 May 2024 13:44:49 +0100 Subject: [PATCH 2/2] add changelog entry --- CHANGELOG.md | 1 + 1 file changed, 1 insertion(+) diff --git a/CHANGELOG.md b/CHANGELOG.md index a4e5985d..3dca72a6 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -10,6 +10,7 @@ and this project tries to adhere to [Semantic Versioning](https://semver.org/spe ### Fixed - 404 errors for missing MVTs +- truncated tooltips ## [1.0.0] - 2024-05-07 ### Added