atom / git-diff

Diff markers in Atom's gutter
MIT License
102 stars 36 forks source link

Variable width git gutter markings #133

Closed gpoul closed 6 years ago

gpoul commented 7 years ago

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 7 years ago

Varying the width might be a good alternative to #78

maxbrunsfeld commented 6 years ago

I'm going to close this out since it is solvable via a change to your own styles.less. See also https://github.com/atom/git-diff/pull/79.