From bde065b7eda4e53d8e27c483ea367c3a1d56a1ce Mon Sep 17 00:00:00 2001 From: ddcat1115 Date: Mon, 25 Sep 2017 14:33:43 +0800 Subject: [PATCH] fix Result style #14 --- src/components/Result/index.less | 2 ++ src/routes/Result/Error.js | 2 +- src/routes/Result/Success.js | 2 +- 3 files changed, 4 insertions(+), 2 deletions(-) diff --git a/src/components/Result/index.less b/src/components/Result/index.less index 4af83fa1..63740312 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 58997c45..ee284cf0 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 b54bd7c9..dba472b7 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 }} /> -- GitLab