Skip to content

Commit

Permalink
fix(input): fixed the background change on autofill in Chrome (#3430)
Browse files Browse the repository at this point in the history
* 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>
  • Loading branch information
awesome-pro and wingkwong authored Jul 12, 2024
1 parent 9438dfd commit 2333c39
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 0 deletions.
5 changes: 5 additions & 0 deletions .changeset/rotten-days-sell.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
---
"@nextui-org/theme": patch
---

fixed the input background change by autofill in Chrome (#1346)
1 change: 1 addition & 0 deletions packages/core/theme/src/components/input.ts
Original file line number Diff line number Diff line change
Expand Up @@ -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",
Expand Down

0 comments on commit 2333c39

Please sign in to comment.