commit | 2160d53e6ae0bfb797569d616e735e46c21522ff | [log] [tgz] |
---|---|---|
author | Andy Huang <ath@google.com> | Mon Feb 10 15:43:14 2014 -0800 |
committer | Andy Huang <ath@google.com> | Mon Feb 10 16:12:30 2014 -0800 |
tree | e37dcc56e97a25e9d137eb51d8bbf3d886d66a78 | |
parent | 88a377f5c4db683d949233bf8100153953b6be43 [diff] |
fix text sizing inaccuracy from 980px switch The side margin was in CSS px, but goalWidth was in dp. This caused the goalWidth to be smaller than it should, which caused scrollWidth to be smaller, which caused each message's zoom factor to be larger, which caused text to be larger than it used to be. Now. goalWidth and documentWidth both have body margins accounted for in the proper units. Bug: 12579959 Change-Id: Ice36b48f381cf3171b092ba27152aa56b64f4100