Skip to content

Commit 1577e2e

Browse files
committed
fix: 생년월일 입력 필드 autofill 시 흰색 배경 제거
1 parent 88c7c06 commit 1577e2e

File tree

1 file changed

+14
-1
lines changed

1 file changed

+14
-1
lines changed

src/common/component/TextField/signup/SignupTextField.css.ts

Lines changed: 14 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -24,7 +24,20 @@ export const inputBase = style({
2424
textAlign: 'left',
2525
});
2626

27-
export const inputFont = style([inputBase, fonts.body03]);
27+
export const inputFont = style([
28+
inputBase,
29+
fonts.body03,
30+
{
31+
selectors: {
32+
'&:-webkit-autofill, &:-webkit-autofill:hover, &:-webkit-autofill:focus, &:-webkit-autofill:active':
33+
{
34+
WebkitBoxShadow: `0 0 0px 1000px transparent inset`,
35+
WebkitTextFillColor: colors.grey10,
36+
transition: 'background-color 5000s ease-in-out 0s',
37+
},
38+
},
39+
},
40+
]);
2841

2942
const createInputStateVariants = () =>
3043
styleVariants({

0 commit comments

Comments
 (0)