Skip to content

Commit

Permalink
Input fields: in case of errors, don't make the red outline thick
Browse files Browse the repository at this point in the history
  • Loading branch information
csillag committed Jul 6, 2023
1 parent 86a7526 commit c24292e
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions src/styles/theme/defaultTheme.ts
Original file line number Diff line number Diff line change
Expand Up @@ -655,6 +655,9 @@ export const defaultTheme = createTheme({
[`&.${outlinedInputClasses.focused} .${outlinedInputClasses.notchedOutline}`]: {
borderWidth: '3px',
},
[`&.${outlinedInputClasses.error} .${outlinedInputClasses.notchedOutline}`]: {
borderWidth: '1px !important',
},
},
notchedOutline: {
borderColor: 'transparent',
Expand Down

0 comments on commit c24292e

Please sign in to comment.