minimal-twitter
minimal-twitter copied to clipboard
In zen mode overflowing content should be scrollable
TL;DR
Changed the body overflow property from hidden to scroll in writer mode.
What changed?
Modified the CSS in the changeWriterMode function to set the body's overflow property to scroll instead of hidden.
How to test?
- Enable writer mode in the application
- Verify that content can now be scrolled when it exceeds the viewport height
- Check that the scrolling behavior works correctly across different content lengths
Why make this change?
The previous overflow: hidden setting prevented users from scrolling through content that exceeded the viewport height in writer mode. This change ensures users can access all content while maintaining the clean writer mode interface.
Fix MIN-31 and https://github.com/typefully/minimal-twitter/issues/169
CleanShot 2025-04-16 at 22.34.55.mp4 (uploaded via Graphite)
- #243

- #242

- #241
👈 (View in Graphite) - #240

main
This stack of pull requests is managed by Graphite. Learn more about stacking.