Bläddra i källkod

添加清除浮动

luolei 5 år sedan
förälder
incheckning
50413d6571
1 ändrade filer med 1 tillägg och 1 borttagningar
  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 listLen = currentData.details&&currentData.details.length;
     const stopScroll =(windowWidth<1300&&listLen>12)||(windowWidth>1299&&listLen>24);
     const stopScroll =(windowWidth<1300&&listLen>12)||(windowWidth>1299&&listLen>24);
     return (
     return (
-      <li key={item.questionId} className={styles.slideLi}> 
+      <li key={item.questionId} className={`${styles.slideLi} clearfix`}> 
         {
         {
             // 标签,血常规。。
             // 标签,血常规。。
             item.show ?
             item.show ?