Commit 9b23270a authored by afc163's avatar afc163

Fix button response design

parent c4d9e025
...@@ -80,7 +80,10 @@ export default ({ formItemLayout, form, dispatch }) => { ...@@ -80,7 +80,10 @@ export default ({ formItemLayout, form, dispatch }) => {
)} )}
</Form.Item> </Form.Item>
<Form.Item <Form.Item
wrapperCol={{ offset: formItemLayout.labelCol.span }} wrapperCol={{
xs: { span: 24, offset: 0 },
sm: { span: formItemLayout.wrapperCol.span, offset: formItemLayout.labelCol.span },
}}
label="" label=""
> >
<Button type="primary" onClick={onValidateForm}> <Button type="primary" onClick={onValidateForm}>
......
...@@ -74,7 +74,10 @@ export default ({ formItemLayout, form, data, dispatch, submitting }) => { ...@@ -74,7 +74,10 @@ export default ({ formItemLayout, form, data, dispatch, submitting }) => {
</Form.Item> </Form.Item>
<Form.Item <Form.Item
wrapperCol={{ offset: 5 }} wrapperCol={{
xs: { span: 24, offset: 0 },
sm: { span: formItemLayout.wrapperCol.span, offset: formItemLayout.labelCol.span },
}}
label="" label=""
> >
<Button type="primary" onClick={onValidateForm} loading={submitting}> <Button type="primary" onClick={onValidateForm} loading={submitting}>
......
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