Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(64)

Unified Diff: chrome/browser/resources/ntp4/new_tab.js

Issue 7674001: [ntp4] Prevent the page switcher from overlapping the bookmarks-page title header. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src/
Patch Set: '' Created 9 years, 4 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
« no previous file with comments | « chrome/browser/resources/ntp4/new_tab.css ('k') | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: chrome/browser/resources/ntp4/new_tab.js
===================================================================
--- chrome/browser/resources/ntp4/new_tab.js (revision 96974)
+++ chrome/browser/resources/ntp4/new_tab.js (working copy)
@@ -553,6 +553,10 @@
pageSwitcherRight.style.width =
(page.sideMargin - scrollbarWidth + 13) + 'px';
pageSwitcherRight.style.right = scrollbarWidth + 'px';
+ pageSwitcherLeft.style.top = pageSwitcherRight.style.top =
Evan Stade 2011/08/18 00:40:01 I'm not sure but I think that this will force a re
csilv 2011/08/18 18:10:36 Re-worked, PTAL.
+ pageSwitcherLeft.style.paddingBottom =
+ pageSwitcherRight.style.paddingBottom =
+ page.querySelector('.tile-page-content').offsetTop + 'px';
}
/**
« no previous file with comments | « chrome/browser/resources/ntp4/new_tab.css ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698