Skip to content

Commit

Permalink
fix(Input): Remove hover outline for disabled input elements. Closes #…
Browse files Browse the repository at this point in the history
  • Loading branch information
jessieweiyi authored May 20, 2021
1 parent 62a6e10 commit e30c715
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/themes/default.ts
Original file line number Diff line number Diff line change
Expand Up @@ -392,7 +392,7 @@ export const getTheme = (fontFamily?: string): ThemeOptions => ({
outline: '2px dotted transparent',
boxShadow: `0 0 0 1px ${COLOR_PALETTE['blue'].color}`,
},
'&:hover:not(.Mui-error) .MuiOutlinedInput-notchedOutline': {
'&:hover:not(.Mui-error):not(.Mui-disabled) .MuiOutlinedInput-notchedOutline': {
borderColor: COLOR_PALETTE['blue'].color,
borderWidth: '1px',
},
Expand Down

0 comments on commit e30c715

Please sign in to comment.