Skip to content

Commit

Permalink
fix(ListSubheader): Only 1rem of text indent on mobile
Browse files Browse the repository at this point in the history
  • Loading branch information
JF-Cozy committed Jun 30, 2022
1 parent 29c161f commit af38d1d
Showing 1 changed file with 5 additions and 2 deletions.
7 changes: 5 additions & 2 deletions react/MuiCozyTheme/makeOverrides.js
Original file line number Diff line number Diff line change
Expand Up @@ -432,14 +432,17 @@ const makeOverrides = theme => ({
padding: 0,
height: '2rem',
backgroundColor: theme.palette.background.paper,
textIndent: '2rem',
textIndent: '1rem',
fontWeight: 'bold',
fontSize: '.75rem',
textTransform: 'uppercase',
alignItems: 'center',
display: 'flex',
lineHeight: 1.33,
color: theme.palette.text.secondary
color: theme.palette.text.secondary,
[theme.breakpoints.up('sm')]: {
textIndent: '2rem'
}
},
gutters: {
paddingLeft: 0,
Expand Down

0 comments on commit af38d1d

Please sign in to comment.