Skip to content
Merged
Show file tree
Hide file tree
Changes from 2 commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
1 change: 1 addition & 0 deletions .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -26,6 +26,7 @@ yarn-error.log*

# local env files
.env*.local
.env*

# vercel
.vercel
Expand Down
8 changes: 7 additions & 1 deletion src/components/common/Input.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -43,7 +43,13 @@ const Input = forwardRef<HTMLInputElement, Props>(
)}
{...rest}
/>
<div role='alert' className='text-red-500 mt-[4px]'>
<div
role='alert'
className={cn('text-red-500 mt-[4px] absolute left-0', {
'top-12': variant !== 'search',
'top-10': variant === 'search',
})}
>
Comment on lines +46 to +52
Copy link
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

회원가입 화면에서 인풋 테스트해보겠습니다. 감사합니다!

{errorMessage}
</div>
</div>
Expand Down
5 changes: 5 additions & 0 deletions src/styles/globals.css
Original file line number Diff line number Diff line change
Expand Up @@ -24,6 +24,11 @@
}

@layer utilities {
input:-webkit-autofill {
-webkit-box-shadow: 0 0 0px 1000px white inset;
box-shadow: 0 0 0px 1000px white inset;
}

Comment on lines +27 to +31
Copy link
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

자동완성 시 인풋 css 수정해주셨군요! 확인했습니다

/* Text-3xl */
.custom-text-3xl-bold {
font-size: 32px;
Expand Down