Ver código fonte

化验单位左对齐

zhouna 6 anos atrás
pai
commit
8edd93b97b

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

@@ -225,7 +225,7 @@ class Inspect extends React.Component {
                     value={item.value}
                     onKeyUp={(e) => { this.changeActivePart(idx, e.target.value.trim()) }}
                   />
-                  <p className={styles.unit}>{item.labelSuffix}</p>
+                  <p className={styles.unit} title={item.labelSuffix}>{item.labelSuffix}</p>
                 </span>
               </li>
             )

+ 1 - 0
src/components/AddInspect/index.less

@@ -151,6 +151,7 @@
     }
     .itemPartT {
         float: right;
+        width: 110px;
         input {
             width: 40px;
             text-align: center;