浏览代码

Fix RegisterResult button style

afc163 8 年之前
父节点
当前提交
f8d345fe82
共有 2 个文件被更改,包括 5 次插入2 次删除
  1. 2 2
      src/routes/User/RegisterResult.js
  2. 3 0
      src/routes/User/RegisterResult.less

+ 2 - 2
src/routes/User/RegisterResult.js

@@ -8,8 +8,8 @@ const title = <div className={styles.title}>你的账户:AntDesign@example.com
 
 
 const actions = (
 const actions = (
   <div className={styles.actions}>
   <div className={styles.actions}>
-    <Button size="large" type="primary"><a href="">查看邮箱</a></Button>
-    <Button size="large"><Link to="/">返回首页</Link></Button>
+    <a href=""><Button size="large" type="primary">查看邮箱</Button></a>
+    <Link to="/"><Button size="large">返回首页</Button></Link>
   </div>
   </div>
 );
 );
 
 

+ 3 - 0
src/routes/User/RegisterResult.less

@@ -11,5 +11,8 @@
   }
   }
   .actions {
   .actions {
     margin-top: 40px;
     margin-top: 40px;
+    a + a {
+      margin-left: 8px;
+    }
   }
   }
 }
 }