Chromium Code Reviews| 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; |
| + pageSwitcherLeft.style.top = offsetTop + 'px'; |
|
Evan Stade
2011/08/18 20:29:47
I would put the + 'px' in offsetTop as well
csilv
2011/08/18 20:41:39
Done.
|
| + pageSwitcherRight.style.top = offsetTop + 'px'; |
| + pageSwitcherLeft.style.paddingBottom = offsetTop + 'px'; |
| + pageSwitcherRight.style.paddingBottom = offsetTop + 'px'; |
| } |
| /** |