There were a few issues with the height calculations:
- In the case of a large screen (not small or medium), the height used
to calculate existing height was the mainChangeInfo. When logged out,
this worked fine (in testing with run_server), but when logged in,
there is additional height from buttons. Instead use commitAndRelated.
- Add a little extra height as it seemed to be a bit under, perhaps
after some of the CSS changes.
- Add the line height calculation to small and medium sized screens too,
so that text is not cut off mid-line there either.
Bug: Issue 6458
Change-Id: Ibf1c1583b5288ea7f200686e287a48a419464104