Skip to content

Commit

Permalink
fix bug in Mui-selected btn in landing page
Browse files Browse the repository at this point in the history
  • Loading branch information
mohamed saied committed Jan 22, 2024
1 parent 8e48da3 commit 1ea534b
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions docs/src/modules/brandingTheme.ts
Original file line number Diff line number Diff line change
Expand Up @@ -1153,13 +1153,15 @@ export function getThemedComponents(): ThemeOptions {
fontWeight: 500,
color: theme.palette.grey[700],
borderColor: theme.palette.grey[200],
zIndex: 1,
...(ownerState.size === 'small' && {
padding: '0.375rem 0.75rem',
}),
'&.Mui-selected': {
color: (theme.vars || theme).palette.primary[500],
borderColor: `${(theme.vars || theme).palette.primary[500]} !important`,
backgroundColor: (theme.vars || theme).palette.primary[50],
zIndex: 2,
'&:hover': {
backgroundColor: (theme.vars || theme).palette.primary[100],
},
Expand Down

0 comments on commit 1ea534b

Please sign in to comment.