Skip to content

Commit

Permalink
fix: 1、修复登录样式错位的问题
Browse files Browse the repository at this point in the history
  • Loading branch information
kangood committed Dec 1, 2023
1 parent 8a15186 commit d622571
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 4 deletions.
4 changes: 2 additions & 2 deletions src/pages/Login/index.module.scss
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
@import '../../styles/base.scss';
@import '../../styles/style.scss';

.LoginBox {
.loginBox {
height: 100vh;
display: flex;

Expand Down Expand Up @@ -36,7 +36,7 @@
}
}

.loginBox {
.signInBox {
width: 320px;
display: flex;
flex-direction: column;
Expand Down
4 changes: 2 additions & 2 deletions src/pages/Login/index.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -39,13 +39,13 @@ const Login: React.FC = () => {
};

return (
<div className={s.LoginBox}>
<div className={s.loginBox}>
<div className={s.leftBox}>个人博客后台管理系统</div>
<div className={s.rightBox}>
<div className={s.avatarBox}>
<img src={avatarUrl} alt='avatar' />
</div>
<div className={s.loginBox}>
<div className={s.signInBox}>
<Input
style={{ marginBottom: 20 }}
size='large'
Expand Down

0 comments on commit d622571

Please sign in to comment.