Browse Source

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

Nathan Schneider 5 years ago
parent
commit
b0b19dac5a
1 changed files with 1 additions and 2 deletions
  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;