소스 검색

update advanced form style

afc163 8 년 전
부모
커밋
de1b7607b1
2개의 변경된 파일2개의 추가작업 그리고 1개의 파일을 삭제
  1. 1 1
      src/routes/List/TableList.js
  2. 1 0
      src/routes/List/TableList.less

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

@@ -247,7 +247,7 @@ export default class TableList extends PureComponent {
             </FormItem>
           </Col>
         </Row>
-        <div>
+        <div style={{ overflow: 'hidden' }}>
           <span style={{ float: 'right' }}>
             <Button type="primary" htmlType="submit">查询</Button>
             <Button style={{ marginLeft: 8 }} onClick={this.handleFormReset}>重置</Button>

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

@@ -14,6 +14,7 @@
   :global {
     .ant-form-item {
       margin-bottom: 24px;
+      margin-right: 0;
       display: flex;
     }
     .ant-form-item-control-wrapper {