Skip to content

Commit

Permalink
refactor: 로그인 Input 스타일 style 파일에 정의
Browse files Browse the repository at this point in the history
  • Loading branch information
areumH committed Aug 24, 2024
1 parent 3f95a3a commit c5724f9
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/components/molecules/LoginForm/LoginForm.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -33,7 +33,7 @@ const LoginForm = ({ withSignInText }: LoginFormProps) => {
icon={<Envelope />}
placeholder="이메일"
onChange={onChange}
style={{ width: '450px' }}
css={S.loginInputStyling}
/>
<Input
name="password"
Expand All @@ -43,7 +43,7 @@ const LoginForm = ({ withSignInText }: LoginFormProps) => {
isError={isError}
errorMessage={errorMessage}
onChange={onChange}
style={{ width: '450px' }}
css={S.loginInputStyling}
/>
<Button
type="submit"
Expand Down
4 changes: 4 additions & 0 deletions src/components/molecules/LoginForm/LoginFrom.style.ts
Original file line number Diff line number Diff line change
Expand Up @@ -26,6 +26,10 @@ export const textStyling = css(typo.Main.Medium, {
cursor: 'pointer',
});

export const loginInputStyling = css({
width: '450px',
});

export const loginBtnStyling = css({
width: '536px',
});
Expand Down

0 comments on commit c5724f9

Please sign in to comment.