Commit 8b75ed36 authored by afc163's avatar afc163

style: fix some detail

parent d2afa15e
...@@ -13,7 +13,8 @@ ...@@ -13,7 +13,8 @@
color: @text-color; color: @text-color;
margin-right: 0; margin-right: 0;
} }
.ant-form-item-label { .ant-form-item-label,
.ant-form-item-control {
padding: 0; padding: 0;
line-height: 32px; line-height: 32px;
} }
......
...@@ -171,26 +171,21 @@ export default class SearchList extends Component { ...@@ -171,26 +171,21 @@ export default class SearchList extends Component {
</FormItem> </FormItem>
</Col> </Col>
<Col xl={8} lg={10} md={12} sm={24} xs={24}> <Col xl={8} lg={10} md={12} sm={24} xs={24}>
<FormItem {getFieldDecorator('rate', {})(
{...formItemLayout} <FormItem
label="ε₯½θ―„εΊ¦" label="ε₯½θ―„εΊ¦"
> >
{getFieldDecorator('rate', {})( {getFieldDecorator('rate', {})(
<FormItem <Select
label="ε₯½θ―„εΊ¦" onChange={this.handleFormSubmit}
> placeholder="不限"
{getFieldDecorator('rate', {})( style={{ maxWidth: 200, width: '100%' }}
<Select >
onChange={this.handleFormSubmit} <Option value="good">δΌ˜η§€</Option>
placeholder="不限" </Select>
style={{ maxWidth: 200, width: '100%' }} )}
> </FormItem>
<Option value="good">δΌ˜η§€</Option> )}
</Select>
)}
</FormItem>
)}
</FormItem>
</Col> </Col>
</Row> </Row>
</StandardFormRow> </StandardFormRow>
......
...@@ -124,7 +124,7 @@ export default class CoverCardList extends PureComponent { ...@@ -124,7 +124,7 @@ export default class CoverCardList extends PureComponent {
grid grid
last last
> >
<Row gutter={24}> <Row gutter={16}>
<Col lg={8} md={10} sm={10} xs={24}> <Col lg={8} md={10} sm={10} xs={24}>
<FormItem <FormItem
{...formItemLayout} {...formItemLayout}
......
...@@ -21,6 +21,9 @@ ...@@ -21,6 +21,9 @@
line-height: 32px; line-height: 32px;
padding-right: 8px; padding-right: 8px;
} }
.ant-form-item-control {
line-height: 32px;
}
} }
.ant-form-item-control-wrapper { .ant-form-item-control-wrapper {
flex: 1; flex: 1;
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment