Fixed issues with colors changing for the test notification button when the dialog box is enabled.
This commit is contained in:
1 parent
62420bfd3c
commit
c63f49e4f3
1 file changed
+5
-4
@@ -122,7 +122,7 @@ const baseTheme = (palette) => ({
|
|||||||
props: { variant: 'text', color: 'info' },
|
props: { variant: 'text', color: 'info' },
|
||||||
style: {
|
style: {
|
||||||
textDecoration: 'underline',
|
textDecoration: 'underline',
|
||||||
color: theme.palette.text.primary,
|
color: theme.palette.primary.contrastText,
|
||||||
padding: 0,
|
padding: 0,
|
||||||
margin: 0,
|
margin: 0,
|
||||||
fontSize: typographyLevels.m,
|
fontSize: typographyLevels.m,
|
||||||
@@ -133,10 +133,11 @@ const baseTheme = (palette) => ({
|
|||||||
textDecoration: 'underline'
|
textDecoration: 'underline'
|
||||||
},
|
},
|
||||||
"&.Mui-disabled": {
|
"&.Mui-disabled": {
|
||||||
backgroundColor: theme.palette.secondary.main,
|
backgroundColor: 'transparent',
|
||||||
color: theme.palette.primary.contrastText,
|
color: theme.palette.text.primary,
|
||||||
|
opacity: 0.5,
|
||||||
"&.MuiButton-text": {
|
"&.MuiButton-text": {
|
||||||
backgroundColor: 'transparent'
|
backgroundColor: 'transparent'
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
minWidth: 0,
|
minWidth: 0,
|
||||||
|
|||||||
Reference in new issue
Block a user