fix: adding color transparent to button when loading
This commit is contained in:
1 parent
972fbd5571
commit
941761cb15
1 file changed
+13
-3
@@ -93,9 +93,19 @@ const baseTheme = (palette) => ({
|
||||
"&:hover": {
|
||||
boxShadow: "none",
|
||||
},
|
||||
"&.MuiLoadingButton-root:disabled": {
|
||||
backgroundColor: theme.palette.secondary.main,
|
||||
color: theme.palette.text.primary,
|
||||
"&.MuiLoadingButton-root": {
|
||||
"&:disabled": {
|
||||
backgroundColor: theme.palette.secondary.main,
|
||||
color: theme.palette.text.primary,
|
||||
},
|
||||
},
|
||||
"&.MuiLoadingButton-loading": {
|
||||
"& .MuiLoadingButton-label": {
|
||||
color: "transparent",
|
||||
},
|
||||
"& .MuiLoadingButton-loadingIndicator": {
|
||||
color: "inherit",
|
||||
},
|
||||
},
|
||||
}),
|
||||
},
|
||||
|
||||
Reference in new issue
Block a user