Open
Description
Styling in CardHeader.js de-centers avatar.
/* Styles applied to the avatar element. */
avatar: {
flex: '0 0 auto',
marginRight: 16,
},
Current workaround (TypeScript):
const theme = createTheme({
components: {
MuiCardHeader: {
styleOverrides: {
avatar: {
marginRight: "unset",
},
},
},
},
});