Commit 8b75ed36 authored by afc163's avatar afc163

style: fix some detail

parent d2afa15e
......@@ -13,7 +13,8 @@
color: @text-color;
margin-right: 0;
}
.ant-form-item-label {
.ant-form-item-label,
.ant-form-item-control {
padding: 0;
line-height: 32px;
}
......
......@@ -171,26 +171,21 @@ export default class SearchList extends Component {
</FormItem>
</Col>
<Col xl={8} lg={10} md={12} sm={24} xs={24}>
<FormItem
{...formItemLayout}
label="ε₯½θ―„εΊ¦"
>
{getFieldDecorator('rate', {})(
<FormItem
label="ε₯½θ―„εΊ¦"
>
{getFieldDecorator('rate', {})(
<Select
onChange={this.handleFormSubmit}
placeholder="不限"
style={{ maxWidth: 200, width: '100%' }}
>
<Option value="good">δΌ˜η§€</Option>
</Select>
)}
</FormItem>
)}
</FormItem>
{getFieldDecorator('rate', {})(
<FormItem
label="ε₯½θ―„εΊ¦"
>
{getFieldDecorator('rate', {})(
<Select
onChange={this.handleFormSubmit}
placeholder="不限"
style={{ maxWidth: 200, width: '100%' }}
>
<Option value="good">δΌ˜η§€</Option>
</Select>
)}
</FormItem>
)}
</Col>
</Row>
</StandardFormRow>
......
......@@ -124,7 +124,7 @@ export default class CoverCardList extends PureComponent {
grid
last
>
<Row gutter={24}>
<Row gutter={16}>
<Col lg={8} md={10} sm={10} xs={24}>
<FormItem
{...formItemLayout}
......
......@@ -21,6 +21,9 @@
line-height: 32px;
padding-right: 8px;
}
.ant-form-item-control {
line-height: 32px;
}
}
.ant-form-item-control-wrapper {
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