Ver código fonte

update advanced form style

afc163 8 anos atrás
pai
commit
de1b7607b1
2 arquivos alterados com 2 adições e 1 exclusões
  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>
             </FormItem>
           </Col>
           </Col>
         </Row>
         </Row>
-        <div>
+        <div style={{ overflow: 'hidden' }}>
           <span style={{ float: 'right' }}>
           <span style={{ float: 'right' }}>
             <Button type="primary" htmlType="submit">查询</Button>
             <Button type="primary" htmlType="submit">查询</Button>
             <Button style={{ marginLeft: 8 }} onClick={this.handleFormReset}>重置</Button>
             <Button style={{ marginLeft: 8 }} onClick={this.handleFormReset}>重置</Button>

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

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