atom/git-diff

Variable width git gutter markings

gpoul opened this issue · 2 comments

gpoul commented

At the moment you're using a fixed 2px gutter markings; on high-dpi displays this becomes very small and hard to see (at least for me) and I came up with the following change that works for me:

atom-text-editor {
  .gutter {
    .line-number.git-line-added,
    .line-number.git-line-modified {
      border-left-width: 0.2em;
    }
  }
}

I thought this might be a nice addition to help others as well in case you think that's a nice addition as well.

gpoul commented

Varying the width might be a good alternative to #78

I'm going to close this out since it is solvable via a change to your own styles.less. See also #79.