Index: chrome/browser/resources/ntp4/new_tab.js |
=================================================================== |
--- chrome/browser/resources/ntp4/new_tab.js (revision 97320) |
+++ chrome/browser/resources/ntp4/new_tab.js (working copy) |
@@ -555,6 +555,12 @@ |
pageSwitcherRight.style.width = |
(page.sideMargin - scrollbarWidth + 13) + 'px'; |
pageSwitcherRight.style.right = scrollbarWidth + 'px'; |
+ |
+ var offsetTop = page.querySelector('.tile-page-content').offsetTop + 'px'; |
+ pageSwitcherLeft.style.top = offsetTop; |
+ pageSwitcherRight.style.top = offsetTop; |
+ pageSwitcherLeft.style.paddingBottom = offsetTop; |
+ pageSwitcherRight.style.paddingBottom = offsetTop; |
} |
/** |