Skip to content

Commit

Permalink
fix: card actions padding
Browse files Browse the repository at this point in the history
  • Loading branch information
SKairinos committed Jul 5, 2023
1 parent 1544102 commit b136c06
Show file tree
Hide file tree
Showing 2 changed files with 14 additions and 0 deletions.
12 changes: 12 additions & 0 deletions src/theme/components/MuiCardActions.tsx
Original file line number Diff line number Diff line change
@@ -0,0 +1,12 @@
import spacing from '../spacing';
import Components from './_components';

const MuiCardActions: Components['MuiCardActions'] = {
styleOverrides: {
root: {
padding: spacing(2)
}
}
};

export default MuiCardActions;
2 changes: 2 additions & 0 deletions src/theme/components/index.ts
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,7 @@ import { ThemeOptions } from '@mui/material';

import MuiAccordion from './MuiAccordion';
import MuiButton from './MuiButton';
import MuiCardActions from './MuiCardActions';
import MuiCheckbox from './MuiCheckbox';
import MuiContainer from './MuiContainer';
import MuiDialog from './MuiDialog';
Expand All @@ -25,6 +26,7 @@ import MuiTypography from './MuiTypography';
const components: ThemeOptions['components'] = {
MuiAccordion,
MuiButton,
MuiCardActions,
MuiCheckbox,
MuiContainer,
MuiDialog,
Expand Down

0 comments on commit b136c06

Please sign in to comment.