Quellcode durchsuchen

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

Nathan Schneider vor 5 Jahren
Ursprung
Commit
b0b19dac5a
1 geänderte Dateien mit 1 neuen und 2 gelöschten Zeilen
  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;