Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Only widen the gutter when showGutter is enabled #137

Merged
merged 3 commits into from
Aug 5, 2014

Conversation

dmnd
Copy link

@dmnd dmnd commented Jul 15, 2014

After installing linter the gutter becomes wider. Even when the config option
showGutters is disabled the gutter is still wider than it should be. This change
only adds gutter CSS when showGutters is enabled.

06urt1m93v

dmnd added 2 commits July 15, 2014 15:49
After installing linter the gutter becomes wider. Even when the config option
showGutter is disabled the gutter is still wider than it should be. This change
only adds gutter CSS when showGutter is enabled.

Test Plan:
Toggled showGutter on and off and saw gutter change width
@dmnd
Copy link
Author

dmnd commented Aug 2, 2014

Any chance of having this merged @hd-deman?

It fixes an issue where simply having linter installed with gutters turned off causes gutters to be wider than they should be. After this change the gutter only become wide if gutter icons are enabled in linter (as you can see if the gif).

@dmnd dmnd mentioned this pull request Aug 2, 2014
4 tasks
@hd-deman
Copy link
Contributor

hd-deman commented Aug 4, 2014

@dmnd Please, fix conflicts with #147

Conflicts:
	lib/gutter-view.coffee
	lib/linter-view.coffee
	stylesheets/linter.less
@dmnd
Copy link
Author

dmnd commented Aug 4, 2014

@hd-deman I fixed the merge conflicts. It's pretty much a rewrite, so please take another look.

@hd-deman
Copy link
Contributor

hd-deman commented Aug 5, 2014

👍 good

hd-deman added a commit that referenced this pull request Aug 5, 2014
Only widen the gutter when showGutter is enabled
@hd-deman hd-deman merged commit e54bc1c into steelbrain:master Aug 5, 2014
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants