Explorar el Código

ux(): fixed sidemenu submenu hover issue that caused it to be hidden as the mouse tried to move on to the submenu

Torkel Ödegaard hace 10 años
padre
commit
eb58414600
Se han modificado 1 ficheros con 3 adiciones y 1 borrados
  1. 3 1
      public/sass/components/_sidemenu.scss

+ 3 - 1
public/sass/components/_sidemenu.scss

@@ -68,7 +68,9 @@
         display: block;
         opacity: 0;
         top: 0px;
-        left: $side-menu-width;
+        // important to overlap it otherwise it can be hidden
+        // again by the mouse getting outside the hover space
+        left: $side-menu-width - 0.2rem;
         background-color: rgba($side-menu-bg,$side-menu-opacity);
         @include animation('dropdown-anim 100ms ease-in-out 100ms forwards');
         z-index: -9999;