stable
Clone or download
Read-only
request #20977 Pull Request: equalizing sides is not useful if one side does not have content
On pull request changes tabs, when we add the first new comment, this will equalize sides even if one is empty. It can be strange because it make a round trip to the side or is put the commentary. To test : - get a pull request with a new file with some datas in (it must be big enought to scroll it) - add several comments - reload, scroll down and add a comment : you should see the side view which make a round trip when the comment place is added Change-Id: Ib1035a82ee869033173809ec1415514511d4716f
Modified Files
Name | ||||
---|---|---|---|---|
M | plugins/pullrequest/scripts/src/app/file-diff/diff-modes/side-by-side-line-height-equalizer.js | +2 | −1 | Go to diff View file |
M | plugins/pullrequest/scripts/src/app/file-diff/diff-modes/side-by-side-line-height-equalizer.test.js | +43 | −1 | Go to diff View file |