From 94e500215b549da6c5b0607356c30ec2c6bfafcc Mon Sep 17 00:00:00 2001 From: ddcat1115 Date: Thu, 31 Aug 2017 17:37:31 +0800 Subject: [PATCH] fix login style --- src/routes/User/Login.js | 2 +- src/routes/User/Login.less | 5 +++++ 2 files changed, 6 insertions(+), 1 deletion(-) diff --git a/src/routes/User/Login.js b/src/routes/User/Login.js index 7e424f44..35cd788d 100644 --- a/src/routes/User/Login.js +++ b/src/routes/User/Login.js @@ -71,7 +71,7 @@ export default class Login extends Component { return (
- + {login.status === 'error' && login.type === 'account' && this.msg('账户或密码错误')} diff --git a/src/routes/User/Login.less b/src/routes/User/Login.less index 1ebb1b29..c6a1d63d 100644 --- a/src/routes/User/Login.less +++ b/src/routes/User/Login.less @@ -4,6 +4,11 @@ width: 368px; margin: 0 auto; + .tabs { + padding: 0 2px; + margin: 0 -2px; + } + :global { .ant-tabs .ant-tabs-bar { border-bottom: 0; -- GitLab