adjust scroll position now that there's secondary nav bar

Change-Id: I7aa237390066805bef210f2ed2f4ae1063e5e252
This commit is contained in:
smain@google.com
2014-06-13 15:05:29 -07:00
parent 6335fbcba1
commit b43eff80e5
2 changed files with 2 additions and 3 deletions

View File

@@ -143,7 +143,7 @@
}
.wear-hero {
height: calc(100% - 70px);
height: calc(100% - 122px);
min-height: 504px;
margin-top: 0;
padding-top: 0;

View File

@@ -15,7 +15,6 @@ page.customHeadTag=<link rel="stylesheet" type="text/css" href="/wear/css/wear.c
<div id="video-container">
<div id="video-frame">
<div class="video-close">
@@ -397,7 +396,7 @@ $("#icon-video-close").on("click", function() {
<script>
$("a.wear-down-arrow").on("click", function(e) {
$("body").animate({
scrollTop: $(".wear-hero").height() + 76
scrollTop: $(".wear-hero").height() + 128
}, 1000, "easeOutQuint");
e.preventDefault();
});