Giter VIP home page Giter VIP logo

Comments (6)

benogle avatar benogle commented on July 28, 2024

Are you using the react editor?

On Thu, May 8, 2014 at 10:31 PM, rawrkats [email protected] wrote:

The gutter does not have padding on the right of the line numbers when
icons are shown. Each number is flush to the right of the editor/code body,
decreasing legibility.


Reply to this email directly or view it on GitHubhttps://github.com//issues/18
.

from git-diff.

 avatar commented on July 28, 2024

Yes. After I disabled it, it works. Thanks!

On May 8, 2014, at 9:51 PM, Ben Ogle [email protected] wrote:

Are you using the react editor?

On Thu, May 8, 2014 at 10:31 PM, rawrkats [email protected] wrote:

The gutter does not have padding on the right of the line numbers when
icons are shown. Each number is flush to the right of the editor/code body,
decreasing legibility.


Reply to this email directly or view it on GitHubhttps://github.com//issues/18
.


Reply to this email directly or view it on GitHub.

from git-diff.

benogle avatar benogle commented on July 28, 2024

@nathansobo the icons shift the gutter elements but it looks like the width
doesn't change in the react editor.

On Friday, May 9, 2014, rawrkats [email protected] wrote:

Yes. After I disabled it, it works. Thanks!

On May 8, 2014, at 9:51 PM, Ben Ogle <[email protected]javascript:_e(%7B%7D,'cvml','[email protected]');>
wrote:

Are you using the react editor?

On Thu, May 8, 2014 at 10:31 PM, rawrkats <[email protected]javascript:_e(%7B%7D,'cvml','[email protected]');>
wrote:

The gutter does not have padding on the right of the line numbers when
icons are shown. Each number is flush to the right of the editor/code
body,
decreasing legibility.


Reply to this email directly or view it on GitHub<
https://github.com/atom/git-diff/issues/18>
.


Reply to this email directly or view it on GitHub.


Reply to this email directly or view it on GitHubhttps://github.com//issues/18#issuecomment-42670310
.

from git-diff.

nathansobo avatar nathansobo commented on July 28, 2024

Damn. I am fixing the width of the gutter to allow line numbers to be absolutely positioned to optimize repaints when scrolling up. Looks like I'm going to need to find another solution to that because it's probably too fragile.

from git-diff.

eddiemonge avatar eddiemonge commented on July 28, 2024

@nathansobo that would be nice for visual niceness as well since the line numbers are all over the place. What if the line numbers themselves were colored instead of having a line or icon?

from git-diff.

izuzak avatar izuzak commented on July 28, 2024

@benogle @nathansobo This was fixed, right? Please reopen if I misunderstood.

What if the line numbers themselves were colored instead of having a line or icon?

That's an interesting idea, @eddiemonge! Personally, I'd be interested in seeing how that looks and feels.

from git-diff.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.