Quellcode durchsuchen

fix Result style #14

ddcat1115 vor 8 Jahren
Ursprung
Commit
bde065b7ed
3 geänderte Dateien mit 4 neuen und 2 gelöschten Zeilen
  1. 2 0
      src/components/Result/index.less
  2. 1 1
      src/routes/Result/Error.js
  3. 1 1
      src/routes/Result/Success.js

+ 2 - 0
src/components/Result/index.less

@@ -2,6 +2,8 @@
 
 .result {
   text-align: center;
+  width: 72%;
+  margin: 0 auto;
 
   .icon {
     font-size: 72px;

+ 1 - 1
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 }}
       />
     </Card>
   </PageHeaderLayout>

+ 1 - 1
src/routes/Result/Success.js

@@ -62,7 +62,7 @@ export default () => (
         “单据”的需求,下面这个灰色区域可以呈现比较复杂的内容。"
         extra={extra}
         actions={actions}
-        style={{ margin: '30px 120px' }}
+        style={{ marginTop: 30, marginBottom: 30 }}
       />
     </Card>
   </PageHeaderLayout>