Skip to content

Commit

Permalink
[Button] Fix border color for secondary disabled button (#35866)
Browse files Browse the repository at this point in the history
  • Loading branch information
SaidMarar authored Jan 23, 2023
1 parent 860590f commit 7c1c73f
Showing 1 changed file with 0 additions and 4 deletions.
4 changes: 0 additions & 4 deletions packages/mui-material/src/Button/Button.js
Original file line number Diff line number Diff line change
Expand Up @@ -153,10 +153,6 @@ const ButtonRoot = styled(ButtonBase, {
...(ownerState.variant === 'outlined' && {
border: `1px solid ${(theme.vars || theme).palette.action.disabledBackground}`,
}),
...(ownerState.variant === 'outlined' &&
ownerState.color === 'secondary' && {
border: `1px solid ${(theme.vars || theme).palette.action.disabled}`,
}),
...(ownerState.variant === 'contained' && {
color: (theme.vars || theme).palette.action.disabled,
boxShadow: (theme.vars || theme).shadows[0],
Expand Down

0 comments on commit 7c1c73f

Please sign in to comment.