You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@tvm.apache.org by tq...@apache.org on 2020/11/03 00:03:33 UTC

[incubator-tvm-site] branch main updated: Fix menu layering issue and correct misspelling (#20)

This is an automated email from the ASF dual-hosted git repository.

tqchen pushed a commit to branch main
in repository https://gitbox.apache.org/repos/asf/incubator-tvm-site.git


The following commit(s) were added to refs/heads/main by this push:
     new 4b90ed2  Fix menu layering issue and correct misspelling (#20)
4b90ed2 is described below

commit 4b90ed2e4f8330ba11e579b32f0fe4a70047326c
Author: Jordan Brennan <jo...@me.com>
AuthorDate: Mon Nov 2 16:03:26 2020 -0800

    Fix menu layering issue and correct misspelling (#20)
    
    * Fix menu layering issue and correct misspelling
    
    * Update custome.js
    
    * Update custom.scss
---
 assets/js/custome.js | 6 +++---
 css/custom.scss      | 3 ++-
 2 files changed, 5 insertions(+), 4 deletions(-)

diff --git a/assets/js/custome.js b/assets/js/custome.js
index 8abc741..4707f88 100755
--- a/assets/js/custome.js
+++ b/assets/js/custome.js
@@ -1,10 +1,10 @@
 $(document).ready(function () {
   $('#menuBtn').click(function () {
-    $('#headMenu').addClass('opne');
+    $('#headMenu').addClass('open');
     $('body').addClass('scroll-hide');
   });
   $('#closeHeadMenu').click(function () {
-    $('#headMenu').removeClass('opne');
+    $('#headMenu').removeClass('open');
     $('body').removeClass('scroll-hide');
   });
   $('#openMailingModal').click(function () {
@@ -24,4 +24,4 @@ $(window).scroll(function () {
   else {
     sticky.removeClass('fixed');
   }
-});
\ No newline at end of file
+});
diff --git a/css/custom.scss b/css/custom.scss
index 7433760..01da555 100644
--- a/css/custom.scss
+++ b/css/custom.scss
@@ -332,8 +332,9 @@ p {
                     }
                 }
             }
-            &.opne {
+            &.open {
                 transform: scaleX(1);
+	    	z-index: 1;
             }
             .navCloseBtn {
                 display: none;