Tab indentation not rendered correctly in diff view

Issue #14640 new
Deric Lee
staff created an issue

On certain files, tab indentations become misaligns in diff view.

Comments (4)

  1. Samantha Adrichem

    It seems like it's this setting: (change it to inline and it's fixed, see screenshot 1 broken, screenshot 2 fixed, it does add a little less colouring)

    .refract-container .addition pre.source ins
    .refract-container .deletion pre.source del {
        display: inline-block;
    }
    

    More info can be found here: https://css-tricks.com/fighting-the-space-between-inline-block-elements/

    It's quite a nasty bug which breaks code reviewing... Could the priority be raised since the fix seems simple?, change it to display: inline, or add negative margin-right, with the size of 1 space, etc

    if i disable that in chrome the alignment is ok

  2. Log in to comment