fix(ui): correct login autofill background alignment (#3759)

This commit is contained in:
Rohit Mehta 2025-11-18 16:30:29 +05:30
parent 24b017cad8
commit e0f4e66783
2 changed files with 10 additions and 2 deletions

2
pnpm-lock.yaml generated
View file

@ -364,8 +364,6 @@ importers:
specifier: ^5.9.3
version: 5.9.3
dist: {}
packages:
'@ampproject/remapping@2.3.0':

View file

@ -41,3 +41,13 @@ a:hover {
border: 4px solid rgba(0, 0, 0, 0);
background-clip: padding-box;
}
/* Remove autofill background color - matches react-zen TextField structure */
.TextField_field__YzU1O input:-webkit-autofill,
.TextField_field__YzU1O input:-webkit-autofill:hover,
.TextField_field__YzU1O input:-webkit-autofill:focus,
.TextField_field__YzU1O input:-webkit-autofill:active {
-webkit-box-shadow: 0 0 0px 1000px var(--background-color) inset !important;
-webkit-text-fill-color: var(--font-color) !important;
transition: background-color 5000s ease-in-out 0s;
}