You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Chromium 21.0.1180.89 Ubuntu 12.04 (154005) on my machine thinks line-height for the line numbers is 16px exactly, while the line-height of the main code is 15.983333587646484px (which it apparently rounds down to 15px). I'm not sure what happens, exactly, but the end result is that line numbers are not aligned with the code, which makes me sad.
Changing p { line-height: 1.3333em; } to p { line-height: 1.3333333em; } is enough to fix the issue on my machine. Chromium Inspector shows that line-height of the p is computed to be 16px exactly. Removing any of the '3's after the decimal point is enough to make the problem reappear.
I've attached the patch to style.css to this issue.
Originally reported by Marius Gedminas (Bitbucket: mgedmin, GitHub: mgedmin)
This issue is best explained with a couple of screenshots: http://imgur.com/a/UgxK4
Chromium 21.0.1180.89 Ubuntu 12.04 (154005) on my machine thinks line-height for the line numbers is 16px exactly, while the line-height of the main code is 15.983333587646484px (which it apparently rounds down to 15px). I'm not sure what happens, exactly, but the end result is that line numbers are not aligned with the code, which makes me sad.
Changing p { line-height: 1.3333em; } to p { line-height: 1.3333333em; } is enough to fix the issue on my machine. Chromium Inspector shows that line-height of the p is computed to be 16px exactly. Removing any of the '3's after the decimal point is enough to make the problem reappear.
I've attached the patch to style.css to this issue.
The text was updated successfully, but these errors were encountered: