Skip to content

Commit

Permalink
style: override autofill background
Browse files Browse the repository at this point in the history
  • Loading branch information
ayZagen committed May 21, 2024
1 parent eb78c94 commit 042f251
Showing 1 changed file with 9 additions and 1 deletion.
10 changes: 9 additions & 1 deletion src/ui/styles/main.css
Original file line number Diff line number Diff line change
Expand Up @@ -23,7 +23,6 @@
border-color: transparent; /* 2 */
}


a {
color: inherit;
text-decoration: inherit;
Expand Down Expand Up @@ -344,4 +343,13 @@
justify-content: start;
}
}


input:-webkit-autofill {
background: #fff;
-webkit-text-fill-color: #000; /* Surcharge la font color d'autofill */
-webkit-background-clip: text; /* Supprime le background autofill, utile pour le border radius */
box-shadow: 0 0 0 50px #fff inset; /* Ajoute un fake background à base d'ombrage aplatit */
}

}

0 comments on commit 042f251

Please sign in to comment.