When a Wiki Post is edited then have problems maintaining the correct width on mobile devices

Pushed some fixes:

https://github.com/discourse/discourse/commit/900f37e5a9fe714c939b7bbd5cd27ef3942244b0

  • The modal container/controls shouldn’t overflow anymore on mobile devices, but in some instances the content will (wide tables and code blocks with long unbroken strings). I could force tables and code blocks to break words and wrap, but it feels better to preserve the structure and scroll horizontally.

  • I also updated it so the history modal will resize to portrait tablet resolutions, previously we were at a fixed 960px width.

6 Likes