Explorar o 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 %!s(int64=10) %!d(string=hai) anos
pai
achega
eb58414600
Modificáronse 1 ficheiros con 3 adicións e 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;