adjust scroll position now that there's secondary nav bar
Change-Id: I7aa237390066805bef210f2ed2f4ae1063e5e252
This commit is contained in:
@@ -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;
|
||||||
|
|||||||
@@ -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();
|
||||||
});
|
});
|
||||||
|
|||||||
Reference in New Issue
Block a user