mirror of
https://github.com/pgadmin-org/pgadmin4.git
synced 2025-02-25 18:55:31 -06:00
Ensure that when Authentication buttons are disabled their text is visible in the Dark and High contrast theme. Fixes #7347
This commit is contained in:
committed by
Akshay Joshi
parent
1e1e1f027a
commit
a5ad956088
@@ -18,7 +18,7 @@ const useStyles = makeStyles((theme)=>({
|
||||
primaryButton: {
|
||||
border: '1px solid '+theme.palette.primary.main,
|
||||
'&.Mui-disabled': {
|
||||
color: theme.palette.primary.contrastText,
|
||||
color: [theme.palette.primary.contrastText,'!important'],
|
||||
backgroundColor: theme.palette.primary.disabledMain,
|
||||
},
|
||||
'&:hover': {
|
||||
@@ -32,7 +32,7 @@ const useStyles = makeStyles((theme)=>({
|
||||
border: '1px solid '+theme.palette.default.borderColor,
|
||||
whiteSpace: 'nowrap',
|
||||
'&.Mui-disabled': {
|
||||
color: theme.palette.default.disabledContrastText,
|
||||
color: [theme.palette.default.disabledContrastText, '!important'],
|
||||
borderColor: theme.palette.default.disabledBorderColor
|
||||
},
|
||||
'&:hover': {
|
||||
|
||||
Reference in New Issue
Block a user