提交 9b23270a 编写于 作者: A afc163

Fix button response design

上级 c4d9e025
......@@ -80,7 +80,10 @@ export default ({ formItemLayout, form, dispatch }) => {
)}
</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=""
>
<Button type="primary" onClick={onValidateForm}>
......
......@@ -74,7 +74,10 @@ export default ({ formItemLayout, form, data, dispatch, submitting }) => {
</Form.Item>
<Form.Item
wrapperCol={{ offset: 5 }}
wrapperCol={{
xs: { span: 24, offset: 0 },
sm: { span: formItemLayout.wrapperCol.span, offset: formItemLayout.labelCol.span },
}}
label=""
>
<Button type="primary" onClick={onValidateForm} loading={submitting}>
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册