### Steps to reproduce 1. Open a room 2. Enable browser's devtool and dock it to right 3. Enable Thread to decrease the width of main timeline 4. Run `/devtools` on the room 5. Enable hidden events 6. Send a message 7. Remove the message ### Outcome #### What did you expect? The hidden event content should be scrollable on the narrow main timeline. https://user-images.githubusercontent.com/3362943/168327823-11893366-ae82-4c8d-a5c7-8b30990a5198.mp4 #### What happened instead? The hidden event content cannot be scrolled. https://user-images.githubusercontent.com/3362943/168327833-28f9d810-c387-417e-b91f-d81e11ff0dc7.mp4 ### Operating system Debian ### Browser information Firefox ESR ### URL for webapp localhost ### Application version 6d6cfcde11a097e8dc501d3b5fd28de55428007a ### Homeserver _No response_ ### Will you send logs? No