Skip to content

Saleor Core: the high performance, composable, headless commerce API.

Fix autofill style

dominik-zeglen352f17e2695d
diff --git a/saleor/static/dashboard-next/components/LoginCard/LoginCard.tsx b/saleor/static/dashboard-next/components/LoginCard/LoginCard.tsx
index 0a8f968c24..5188952ba1 100644
--- a/saleor/static/dashboard-next/components/LoginCard/LoginCard.tsx
+++ b/saleor/static/dashboard-next/components/LoginCard/LoginCard.tsx
@@ -25,6 +25,13 @@ export interface LoginCardProps {
}
const decorate = withStyles(theme => ({
+ "@global": {
+ input: {
+ "&:-webkit-autofill": {
+ boxShadow: "inset 0 0 0px 9999px #EFF8F2"
+ }
+ }
+ },
card: {
padding: `${theme.spacing.unit * 10.5}px ${theme.spacing.unit * 17}px`,
width: "100%"