Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit b43eff80 authored by smain@google.com's avatar smain@google.com
Browse files

adjust scroll position now that there's secondary nav bar

Change-Id: I7aa237390066805bef210f2ed2f4ae1063e5e252
parent 6335fbcb
Loading
Loading
Loading
Loading
+1 −1
Original line number Diff line number Diff line
@@ -143,7 +143,7 @@
}

.wear-hero {
  height: calc(100% - 70px);
  height: calc(100% - 122px);
  min-height: 504px;
  margin-top: 0;
  padding-top: 0;
+1 −2
Original line number Diff line number Diff line
@@ -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();
  });