Pastebin onebox escapes page width

Makes the viewport annoying on mobile. Seen here: Can't install Discourse with only 10 GB disk, run out of space

4 Likes

Yep I reported this to @techapj as well, he can fix next week when back from vacation.

3 Likes

This is now fixed via:

https://github.com/discourse/onebox/commit/39f21da17a85c4b5e5e2ebecee886345347072cd

I improved the Pastebin onebox similar to GitHub Gist, the first 10 lines will be extracted and the rest will be truncated. No more iframe! :smile:


See the new pastebin onebox demo here:

3 Likes