ramp4-pcar4 / story-ramp

Storytelling with interactive maps using RAMP
MIT License
4 stars 14 forks source link

Long text/markdown contents in right panel is opening at the center of contents instead of top #349

Closed dan-bowerman closed 1 year ago

dan-bowerman commented 1 year ago

The dashboard in full desktop resolution is quite long, and is opening up in the "middle" of the content. See the screenshots below. The first screenshot is what immediately appears on the right when clicking the highlighted link. The second screenshot is scrolling up to the top of the dashboard content, which is also the top of the left panel content.

(Example, requires VPN, and this link won't last forever: https://environmental-maps.dev.ec.gc.ca/cws_ramp-storylines_sandbox/index-ca-en.html#/en/priority-species_especes-prioritaires#5-barren-ground-caribou, Barren-ground Caribou slide, "Please refer to our barren-ground caribou dashboard" link)

image

image

spencerwahl commented 1 year ago

Plan is to scroll to the top of the "right" dynamic panel on it changing, should hopefully handle desktop and mobile confusions.