lus / pasty

pasty is a fast and lightweight code pasting server
https://pasty.lus.pm
MIT License
200 stars 27 forks source link

Line number's don't line up with lines #15

Closed Qwerty-Space closed 2 years ago

Qwerty-Space commented 3 years ago

Browser: Firefox 89.0.2 OS: Linux

Pasty vs VS Code

image image

lus commented 3 years ago

Yeah, I already noticed that. Will be fixed with the next frontend update. Thank you.

EDIT: With Chrome everything looks nice to me. I think it has to do with the font and how Firefox handles it.

EDIT 2 (for myself as I would forget it otherwise): line-height: 20px; on the code block should do the trick, as line-height: normal; is browser-specific and thus inconsistent.

lus commented 2 years ago

This got fixed with the last frontend PR.