mirror of
https://github.com/bluewave-labs/Checkmate.git
synced 2026-01-20 16:49:46 -06:00
fix: adding color transparent to button when loading
This commit is contained in:
@@ -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