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": {
|
"&:hover": {
|
||||||
boxShadow: "none",
|
boxShadow: "none",
|
||||||
},
|
},
|
||||||
"&.MuiLoadingButton-root:disabled": {
|
"&.MuiLoadingButton-root": {
|
||||||
backgroundColor: theme.palette.secondary.main,
|
"&:disabled": {
|
||||||
color: theme.palette.text.primary,
|
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