Browse Source

搜索结果弹窗位置2903

zhouna 5 năm trước cách đây
mục cha
commit
16dc8e7124
1 tập tin đã thay đổi với 1 bổ sung1 xóa
  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