Skip to content

Commit

Permalink
fix: list padding
Browse files Browse the repository at this point in the history
  • Loading branch information
SKairinos committed Jul 6, 2023
1 parent e5cc1f0 commit 7bcc8b1
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/MuiList.ts
Original file line number Diff line number Diff line change
@@ -0,0 +1,12 @@
import Components from './_components';

const MuiList: Components['MuiList'] = {
styleOverrides: {
root: {
paddingTop: 0,
paddingBottom: 0
}
}
};

export default MuiList;
2 changes: 2 additions & 0 deletions src/theme/components/index.ts
Original file line number Diff line number Diff line change
Expand Up @@ -12,6 +12,7 @@ import MuiGrid2 from './MuiGrid2';
import MuiInputAdornment from './MuiInputAdornment';
import MuiInputBase from './MuiInputBase';
import MuiLink from './MuiLink';
import MuiList from './MuiList';
import MuiListItemText from './MuiListItemText';
import MuiMenu from './MuiMenu';
import MuiMenuItem from './MuiMenuItem';
Expand All @@ -38,6 +39,7 @@ const components: ThemeOptions['components'] = {
MuiInputAdornment,
MuiInputBase,
MuiLink,
MuiList,
MuiListItemText,
MuiMenu,
MuiMenuItem,
Expand Down

0 comments on commit 7bcc8b1

Please sign in to comment.