소스 검색

添加清除浮动

luolei 5 년 전
부모
커밋
50413d6571
1개의 변경된 파일1개의 추가작업 그리고 1개의 파일을 삭제
  1. 1 1
      src/components/AddInspect/SlideSelect/index.jsx

+ 1 - 1
src/components/AddInspect/SlideSelect/index.jsx

@@ -121,7 +121,7 @@ class SlideSelect extends Component {
     const listLen = currentData.details&&currentData.details.length;
     const stopScroll =(windowWidth<1300&&listLen>12)||(windowWidth>1299&&listLen>24);
     return (
-      <li key={item.questionId} className={styles.slideLi}> 
+      <li key={item.questionId} className={`${styles.slideLi} clearfix`}> 
         {
             // 标签,血常规。。
             item.show ?