The CSS defined in html report styles.css set line number font-size to 10px, but Chrome have a minimal font-size setting which with 12px as default, so the font-size for lineno will render as 12px, and the line-height will show as 1.6x12 = 19.2, it cause the lineno tall than code, code part is still with font-size 12px (0.75em) and line-height 16px (1.333333em)
We can suggest users to change their Chrome minimal font-size to 10px or smaller to ignore this problem, but for others doesn't know the reason, maybe we can change the font-size of lineno to 12px for a better way?
The text was updated successfully, but these errors were encountered:
Thanks, I had never seen the minimum font size setting before. The default for me (and a number of people I asked) is 6 point, do you know why it was 12 for you?
I've fixed this a slightly different way than your pull request. Your way gave everyone 12-point line numbers. My way leaves the default as 10, but keeps the alignment correct if the size is actually 12 due to the minimum font setting.