3309: Really long comment causes unreadable review

nlas*****@landmarkg********* (Google Code) (Is this you? Claim this profile.)
chipx86
chipx86
June 21, 2014
3375, 3443, 3466
What version are you running?

2.0 RC2

What's the URL of the page containing the problem?

/r/10/diff/#

What steps will reproduce the problem?
1. Create code with a really long comment line. Like, really long.
2. Create a review which involves that line, such as deleting or moving it.

What is the expected output? What do you see instead?

I expect the really long line will be wrapped. Or worst case, a horizontal scrollbar.

Instead, the box for the updated file is unreadably small *and* has data cut off. See screen-shot. There is no scroll bar.

What operating system are you using? What browser?

Reproduced on Mac OS X Chrome and Ubuntu Firefox.

Please provide any additional information below.

In my installation I added a solution by adding a CSS attribute:

.sidebyside pre {
   max-width: 50vw;
}

This makes each side of the review be no more than 50% of the browser window, which prevents this problem. You may solve it that way or maybe have another way that you would prefer to solve it.
chipx86
#2 chipx86
  • +PendingReview
  • +Milestone-Release2.0.x
    +Component-DiffViewer
  • +chipx86
chipx86
#3 chipx86
Fixed on release-2.0.x (49c378b)
  • -PendingReview
    +Fixed