Forráskód Böngészése

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

Torkel Ödegaard 9 éve
szülő
commit
eb58414600
1 módosított fájl, 3 hozzáadás és 1 törlés
  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;