am b43eff80: adjust scroll position now that there\'s secondary nav bar

* commit 'b43eff80e56c29b29ac3f77ee12150211539dcee':
  adjust scroll position now that there's secondary nav bar
This commit is contained in:
smain@google.com
2014-06-14 00:35:48 +00:00
committed by Android Git Automerger
2 changed files with 2 additions and 3 deletions

View File

@@ -143,7 +143,7 @@
} }
.wear-hero { .wear-hero {
height: calc(100% - 70px); height: calc(100% - 122px);
min-height: 504px; min-height: 504px;
margin-top: 0; margin-top: 0;
padding-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-container">
<div id="video-frame"> <div id="video-frame">
<div class="video-close"> <div class="video-close">
@@ -397,7 +396,7 @@ $("#icon-video-close").on("click", function() {
<script> <script>
$("a.wear-down-arrow").on("click", function(e) { $("a.wear-down-arrow").on("click", function(e) {
$("body").animate({ $("body").animate({
scrollTop: $(".wear-hero").height() + 76 scrollTop: $(".wear-hero").height() + 128
}, 1000, "easeOutQuint"); }, 1000, "easeOutQuint");
e.preventDefault(); e.preventDefault();
}); });