afc163 8 anos atrás
pai
commit
9be2358b4d
2 arquivos alterados com 4 adições e 1 exclusões
  1. 1 1
      src/routes/List/TableList.js
  2. 3 0
      src/routes/List/TableList.less

+ 1 - 1
src/routes/List/TableList.js

@@ -175,7 +175,7 @@ export default class TableList extends PureComponent {
             </FormItem>
           </Col>
           <Col span={8}>
-            <span>
+            <span className={styles.sumbitButtons}>
               <Button type="primary" htmlType="submit">查询</Button>
               <Button style={{ marginLeft: 8 }} onClick={this.handleFormReset}>重置</Button>
               <a style={{ marginLeft: 8 }} onClick={this.toggleForm}>

+ 3 - 0
src/routes/List/TableList.less

@@ -20,6 +20,9 @@
       flex: 1;
     }
   }
+  .sumbitButtons {
+    white-space: nowrap;
+  }
 }
 
 @media screen and (max-width: @screen-lg) {