Line numbers above 9999 don't fit.
Yes. The code viewer in GreasyFork is quite simple and basic.
You might consider using this to view code in GreasyFork. (just viewing, not editing)
You might consider using this to view code in GreasyFork. (just viewing, not editing)
It actually works about 5 times faster for larger scripts (10k+ lines) Thanks!
There is seems to be a browser limitation for
<ol>
lists, where only last 4 digits are fit in the available width. So, if script has more than 9999 lines, it starts showing incorrect line numbers.A quick CSS-only solution for modern browsers: