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:
Pradip Parkale 2022-05-24 17:12:37 +05:30 committed by Akshay Joshi
parent 1e1e1f027a
commit a5ad956088
2 changed files with 3 additions and 2 deletions

View File

@ -21,6 +21,7 @@ Bug fixes
*********
| `Issue #7002 <https://redmine.postgresql.org/issues/7002>`_ - Added the ability to detect and warn users about bidirectional Unicode characters.
| `Issue #7347 <https://redmine.postgresql.org/issues/7347>`_ - Ensure that when Authentication buttons are disabled their text is visible in the Dark and High contrast theme.
| `Issue #7368 <https://redmine.postgresql.org/issues/7368>`_ - Ensure that unwanted APIs should not be getting called for BigAnimal.
| `Issue #7372 <https://redmine.postgresql.org/issues/7372>`_ - Tell Docker to always pull the latest base images when building containers.
| `Issue #7373 <https://redmine.postgresql.org/issues/7373>`_ - Fixed an issue with geometry window zoom mouse scroll not working.

View File

@ -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': {