refactor: Keep focused style when input is hovered (#3832)

This commit is contained in:
Bruno Quaresma
2022-09-02 09:53:46 -07:00
committed by GitHub
parent 5618640227
commit 6fe63ed358
+2 -1
View File
@@ -145,7 +145,8 @@ export const getOverrides = ({ palette, breakpoints }: Theme): Overrides => {
"& input:-webkit-autofill": {
WebkitBoxShadow: `0 0 0 1000px ${palette.background.paper} inset`,
},
"&:hover .MuiOutlinedInput-notchedOutline": {
"&:hover:not(.Mui-focused) .MuiOutlinedInput-notchedOutline": {
borderColor: palette.divider,
},
},