fix(input): fixed the background change on autofill in Chrome (#3430)

* fix(input): fixed the background change on autofill in Chrome

* fix(input): fixed the background change on autofill in Chrome

* chore(changeset): add issue number

---------

Co-authored-by: WK Wong <wingkwong.code@gmail.com>
This commit is contained in:
Abhinandan 2024-07-12 23:55:36 +05:30 committed by GitHub
parent 9438dfd918
commit 2333c39870
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194
2 changed files with 6 additions and 0 deletions

View File

@ -0,0 +1,5 @@
---
"@nextui-org/theme": patch
---
fixed the input background change by autofill in Chrome (#1346)

View File

@ -44,6 +44,7 @@ const input = tv({
"data-[has-start-content=true]:ps-1.5",
"data-[has-end-content=true]:pe-1.5",
"file:cursor-pointer file:bg-transparent file:border-0",
"autofill:bg-transparent bg-clip-text",
],
clearButton: [
"p-2",