angular-docs-cn/aio/e2e
George Kalpakas 7822187b17 fix(aio): fix scrolling to top (#17102)
Previously, the `#top-of-page` element (used when scrolling to top) was placed
inside the content section (which at the time had zero top margin and padding).
Furthermore, there was a top offset applied when scrolling that took the static
top bar's height into account. Since now the top bar is not static any more and
the content section has a non-zero top padding, scrolling to top does not work
as expected.

This commit fixes this by:
- Moving the `#top-of-page` element to the top of the `aio-shell`.
- Stop accounting for the top bar's top.

Fixes #17006
2017-06-01 14:03:10 -07:00
..
app.e2e-spec.ts fix(aio): fix scrolling to top (#17102) 2017-06-01 14:03:10 -07:00
app.po.ts fix(aio): fix scrolling to top (#17102) 2017-06-01 14:03:10 -07:00
tsconfig.e2e.json build(aio): update project config for @angular/cli v1.0.0 2017-03-27 11:55:26 -07:00