]> git.ipfire.org Git - ipfire.org.git/blobdiff - static/js/site.js
add spacing and menu on mobile
[ipfire.org.git] / static / js / site.js
index 2b405a779f4bcd47d82ae3166b978064c7b44248..84521fb9807119afbf0f35664d3bb6659d5bc044 100644 (file)
@@ -2,8 +2,10 @@ $(document).ready(function () {
     $(window).scroll(function () {
         if ($(document).scrollTop() > 100) {
             $(".fixed-top").addClass("scrolled");
+            $(".menu-text").addClass("hidden");
         } else {
             $(".fixed-top").removeClass("scrolled");
+            $(".menu-text").removeClass("hidden");
         }
     });
 });