Explorar el Código

搜索结果弹窗位置2903

zhouna hace 5 años
padre
commit
16dc8e7124
Se han modificado 1 ficheros con 1 adiciones y 1 borrados
  1. 1 1
      src/components/CurrentIll/index.jsx

+ 1 - 1
src/components/CurrentIll/index.jsx

@@ -74,7 +74,7 @@ class CurrentIll extends Component{
     const ele = document.activeElement;
     const height = ele.offsetHeight;
     let boxTop = (+(ele.offsetTop)+height);
-    let boxLeft = ele.offsetLeft+50;
+    let boxLeft = ele.offsetLeft+70;
     this.setState({
       boxLeft:boxLeft,
       boxTop:boxTop