summaryrefslogtreecommitdiffstats
path: root/chrome/browser/resources/new_new_tab.js
diff options
context:
space:
mode:
authorarv@google.com <arv@google.com@0039d316-1c4b-4281-b951-d872f2087c98>2009-07-28 01:15:35 +0000
committerarv@google.com <arv@google.com@0039d316-1c4b-4281-b951-d872f2087c98>2009-07-28 01:15:35 +0000
commitb80d5016c18ad5816bbff0698ff3407e77feabf1 (patch)
treec8e7acd2763a7a2cbd1f03bcfc791f875c91ea64 /chrome/browser/resources/new_new_tab.js
parentd06128b664b0e5fa1ac6b6195bdf9e67fc943502 (diff)
downloadchromium_src-b80d5016c18ad5816bbff0698ff3407e77feabf1.zip
chromium_src-b80d5016c18ad5816bbff0698ff3407e77feabf1.tar.gz
chromium_src-b80d5016c18ad5816bbff0698ff3407e77feabf1.tar.bz2
Fix issue where the width of the sections was not updated correctly.
BUG=17751 TEST=Make the window small so that the small layout is triggered. Then resize the window to trigger normal mode. The right border of the tips section should be visible. Review URL: http://codereview.chromium.org/159466 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@21781 0039d316-1c4b-4281-b951-d872f2087c98
Diffstat (limited to 'chrome/browser/resources/new_new_tab.js')
-rw-r--r--chrome/browser/resources/new_new_tab.js2
1 files changed, 1 insertions, 1 deletions
diff --git a/chrome/browser/resources/new_new_tab.js b/chrome/browser/resources/new_new_tab.js
index a852077..1707cd5 100644
--- a/chrome/browser/resources/new_new_tab.js
+++ b/chrome/browser/resources/new_new_tab.js
@@ -680,7 +680,7 @@ function layoutLowerSections() {
var tipsElement = $('tips');
var spacer = recentElement.nextElementSibling;
- var totalWidth = useSmallGrid() ? 692 : 940;
+ var totalWidth = useSmallGrid() ? 692 : 920;
var spacing = 20;
var rtl = document.documentElement.dir == 'rtl';