filp / whoops

PHP errors for cool kids
http://filp.github.io/whoops/
MIT License
13.19k stars 604 forks source link

Update whoops.base.js #720

Closed devilmengcry closed 2 years ago

devilmengcry commented 2 years ago

show scroll bar

denis-sokolov commented 2 years ago

Thank you for your suggestion!

Currently the intent behind this piece of code is to show the preview of the source code. We’re only including more of it invisible for technical reasons, to enable syntax highlighting.

If we wanted to allow the user to scroll, it could be fun. But we’d need to include the entire source file then, and think through how the rest of the block works when you can scroll. If you think there’s a lot of value there, by all means, make a proposal and let’s discuss it!