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

Fix left calculation for node diff box #830

Merged
merged 5 commits into from
Dec 18, 2016

Conversation

jung-kim
Copy link
Collaborator

@jung-kim jung-kim commented Dec 11, 2016

screen shot 2016-12-11 at 14 20 39

@jung-kim jung-kim mentioned this pull request Dec 11, 2016
@campersau
Copy link
Collaborator

I think this was inteded so we don't have to scroll to the right. But yes for wide repos this looked strange...

image

(Also the scrollbar on the bottom is very big.)

# Conflicts:
#	CHANGELOG.md
this.diffStyle = ko.computed(function() {
if (self.selected()) return { left: self.selectedDiffLeftPosition() + 'px', width: (window.innerWidth - 220) + 'px' };
var marginLeft = Math.min((gitNode.branchOrder() * 70), 450) * -1
Copy link
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Nit: semicolon

@jung-kim jung-kim merged commit c2eb481 into FredrikNoren:master Dec 18, 2016
@jung-kim jung-kim deleted the diff-box-css branch December 18, 2016 21:07
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.

None yet

2 participants