Skip to content

Commit

Permalink
[DESIGN] 로그인 페이지 반응형 적용 #30
Browse files Browse the repository at this point in the history
  • Loading branch information
moondrop0816 committed Jul 19, 2023
1 parent 721a5c4 commit 7f4dd9f
Showing 1 changed file with 16 additions and 1 deletion.
17 changes: 16 additions & 1 deletion src/pages/SignIn.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -8,6 +8,7 @@ import { useDispatch, useSelector } from 'react-redux';
import Button from '../components/Common/Button';
import { RootState } from '../store';
import { setIsLogin } from '../store/slices/loginSlices';
import { mq } from '../theme';

interface LoginInfo {
userId: string;
Expand Down Expand Up @@ -56,7 +57,7 @@ const StyledSignIn = (theme: Theme) =>
display: 'block',
},
'.err-msg': {
color: `${theme.orange1}`, // FIXME
color: `${theme.red}`,
fontSize: '1.4rem',
marginTop: '0.5rem',
},
Expand All @@ -74,6 +75,20 @@ const StyledSignIn = (theme: Theme) =>
},
},
},
[mq[1]]: {
'.signin-wrap': {
width: '80%',
padding: '3rem',
img: {
width: '50%',
},
form: {
label: {
fontSize: '1.8rem',
},
},
},
},
});

const SignIn = () => {
Expand Down

0 comments on commit 7f4dd9f

Please sign in to comment.