Kaynağa Gözat

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

Nathan Schneider 5 yıl önce
ebeveyn
işleme
b0b19dac5a
1 değiştirilmiş dosya ile 1 ekleme ve 2 silme
  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;