Blame view line number and blame commit don't line up with source (BB-8788)

Issue #7604 resolved
Riot created an issue

See attached screenshot of the bottom of a source file; the line number spacing is slightly greater than the source line spacing. As you scroll down, the lines begin to be offset vertically from their corresponding line numbers.

Browser is Firefox 21.0 on Windows, default fonts and sizes, default zoom. Zooming in and out causes the text to go into and out of alignment arbitrarily.

Comments (13)

  1. Zachary Davis Account Deactivated

    I'm unable to reproduce this in the latest Firefox (23.0.1) on Windows. Are you still seeing this problem?

  2. anatoly techtonik

    Same problem with Chrome 29 on Vista, but in my case it is the "name hash date" column that is longer. Line numbers are aligned with content ok.

  3. Brian Nguyen

    Hi,

    Thanks for the clarification. I have been able to reproduce the problem now. It looks to be an issue with the monospace font that Windows provides.

    I'll look into fixing this.

    Cheers, Brian

  4. Steven Rick

    Still a problem on Windows 8, Chrome Version 38.0.2125.111 m. In Dev Tools if I disable

     font-family: "Bitstream Vera Sans Mono","DejaVu Sans Mono",Monaco,Courier,monospace;
    

    then monospacing is re-enabled and everything lines up again.

  5. Zachary Davis Account Deactivated

    We should have a fix out for the Windows Chrome problem soon. Apologies for the inconvenience.

  6. anatoly techtonik

    WTF theories:

    1. Orsolya Nagy is a bot
    2. Orsolya Nagy is a bug
    3. Atlassian has problems with security ;)
  7. Log in to comment