This appears to fix an issue (presumably where .onresize was being
overwritten?) where the width of the document wouldn't update correctly.
This doesn't solve that whole class of issues -- there are many
assumptions made, including that the orientation or device type of the
page won't change after load (so e.g. rotating a device can cause
issues), but those are systemic enough that I'm not going to dare to fix
them this time!
From StoryMapJS@3a009d50ca0ee1392c790e77bf756a94f97dc169, which includes
these commits on top of upstream:
commit 3a009d50ca0ee1392c790e77bf756a94f97dc169
Author: Chandler Swift <chandler@chandlerswift.com>
Date: Sun Dec 22 22:28:46 2024 -0600
Add support for HTML5 video element
commit 6ade0d609203fe3063b26fff23602b0b3caf7e38
Author: Chandler Swift <chandler@chandlerswift.com>
Date: Sun Dec 22 22:26:37 2024 -0600
Re-enable scroll-to-zoom on map
commit ce2220d6f7325c2fa5f3f9963a56daf1e8b6c90f
Author: Chandler Swift <chandler@chandlerswift.com>
Date: Sun Dec 22 22:25:58 2024 -0600
Add lightbox for image links
Fixes#3
This is still using uncompressed photos, so those aren't committed yet,
and I haven't finished my custom StoryMapJS build, so we're using the
CDN-hosted version for now.