Skip to content

Commit

Permalink
Merge pull request #25 from berzniz/suggested_changes
Browse files Browse the repository at this point in the history
Support suggested changes

Fixes #24
  • Loading branch information
berzniz authored Dec 7, 2018
2 parents 504a824 + eac35e3 commit 6b1cc7e
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion src/js/components/tree.jsx
Original file line number Diff line number Diff line change
Expand Up @@ -22,7 +22,7 @@ class Tree extends React.Component {
this.resizeDelta = 0

this.treeContainer = document.querySelector('.__better_github_pr')
this.reviewContainers = document.querySelectorAll('.enable_better_github_pr .diff-view, .enable_better_github_pr .commit.full-commit.prh-commit')
this.reviewContainers = document.querySelectorAll('.enable_better_github_pr #files, .enable_better_github_pr .commit.full-commit.prh-commit')

this.setInitialWidth()

Expand Down
4 changes: 2 additions & 2 deletions src/js/style.css
Original file line number Diff line number Diff line change
Expand Up @@ -94,12 +94,12 @@

/* GitHub page changes */

.enable_better_github_pr .diff-view,
.enable_better_github_pr #files,
.enable_better_github_pr .commit.full-commit.prh-commit {
margin-left: 340px;
}

.enable_better_github_pr .diff-view .file-header {
.enable_better_github_pr #files .file-header {
position: sticky;
top: 60px;
z-index: 1;
Expand Down

0 comments on commit 6b1cc7e

Please sign in to comment.