Explorar el Código

Fixed position of Module tooltip so it doesn't fall off edge on mobile

Nathan Schneider hace 5 años
padre
commit
b0b19dac5a
Se han modificado 1 ficheros con 1 adiciones y 2 borrados
  1. 1 2
      _layouts/rule.html

+ 1 - 2
_layouts/rule.html

@@ -36,8 +36,7 @@ layout: default
   /* Position the tooltip */
   position: absolute;
   z-index: 1;
-  top: -5px;
-  left: 105%;
+  right: 100%;
 }
 .button:hover .tooltiptext {
     visibility: visible;