diff --git a/src/components/Result/index.less b/src/components/Result/index.less index 4af83fa1a375548a14327e874e315cc50be44f7a..6374031299906fc1f5d9accdcb6880211f3d5ace 100644 --- a/src/components/Result/index.less +++ b/src/components/Result/index.less @@ -2,6 +2,8 @@ .result { text-align: center; + width: 72%; + margin: 0 auto; .icon { font-size: 72px; diff --git a/src/routes/Result/Error.js b/src/routes/Result/Error.js index 58997c4546df0cc7bf6ecd974006ca0e0f0a46ea..ee284cf0c272482b30715e7100080c4cbc23fd77 100644 --- a/src/routes/Result/Error.js +++ b/src/routes/Result/Error.js @@ -30,7 +30,7 @@ export default () => ( description="请核对并修改以下信息后,再重新提交。" extra={extra} actions={actions} - style={{ margin: '30px 120px' }} + style={{ marginTop: 30, marginBottom: 30 }} /> diff --git a/src/routes/Result/Success.js b/src/routes/Result/Success.js index b54bd7c95f49fbc4b638b006609bfd99d6d10fa8..dba472b78d1a0ae4560438084f93347eb1374bb1 100644 --- a/src/routes/Result/Success.js +++ b/src/routes/Result/Success.js @@ -62,7 +62,7 @@ export default () => ( “单据”的需求,下面这个灰色区域可以呈现比较复杂的内容。" extra={extra} actions={actions} - style={{ margin: '30px 120px' }} + style={{ marginTop: 30, marginBottom: 30 }} />