You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
This session completed two homepage UI fixes: swapping legend order for rainfall/lightning count and fixing rainfall tooltip overlap with the right-side legend.
Changes
Change 1:
Goal: Swap the display order of Rainfall (mm/h) and Lightning Count inside the homepage legend.
Implementation: Reordered the two legend blocks in the Gradient Legend section of index.html while keeping pointer element IDs unchanged (legend-rainfall-pointer, legend-count-pointer) so existing weather_v2.js bindings remain intact.
Files: app/templates/index.html
Tech stack / parameters: Flask Jinja2 template; front-end DOM order update only, no backend/config changes.
Change 2:
Goal: Prevent the Rainfall (S44) help tooltip from being covered by the right legend panel in desktop layout.
Implementation: Updated tooltip positioning classes to keep centered behavior on mobile (left-1/2 -translate-x-1/2) and switch to right-aligned left-expansion on sm+ screens (sm:left-auto sm:right-0 sm:translate-x-0).