Browse Source

fix: disable pointer-events on footer-center container (#3629)

David Luzar 4 years ago
parent
commit
d201d0be1b
2 changed files with 11 additions and 4 deletions
  1. 11 0
      src/components/LayerUI.scss
  2. 0 4
      src/css/styles.scss

+ 11 - 0
src/components/LayerUI.scss

@@ -108,5 +108,16 @@
         transition-delay: 0.8s;
       }
     }
+
+    .layer-ui__wrapper__footer-center {
+      pointer-events: none;
+      & > * {
+        pointer-events: all;
+      }
+    }
+    .layer-ui__wrapper__footer-left,
+    .layer-ui__wrapper__footer-right {
+      pointer-events: all;
+    }
   }
 }

+ 0 - 4
src/css/styles.scss

@@ -358,10 +358,6 @@
     }
   }
 
-  .layer-ui__wrapper:not(.disable-pointerEvents) .App-menu_bottom > * {
-    pointer-events: all;
-  }
-
   .App-menu_bottom > *:first-child {
     justify-self: flex-start;
   }