Skip to content

Commit

Permalink
[DataGrid] Show page size controls on narrower screens (#2461)
Browse files Browse the repository at this point in the history
  • Loading branch information
michaldudak authored Aug 31, 2021
1 parent 89a8327 commit 0a161a5
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions packages/grid/_modules_/grid/components/GridPagination.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -14,22 +14,22 @@ const useStyles = makeStyles(
(theme: Theme) => ({
selectLabel: {
display: 'none',
[theme.breakpoints.up('md')]: {
[theme.breakpoints.up('sm')]: {
display: 'block',
},
},
caption: {
// input label
'&[id]': {
display: 'none',
[theme.breakpoints.up('md')]: {
[theme.breakpoints.up('sm')]: {
display: 'block',
},
},
},
input: {
display: 'none',
[theme.breakpoints.up('md')]: {
[theme.breakpoints.up('sm')]: {
display: 'inline-flex',
},
},
Expand Down

0 comments on commit 0a161a5

Please sign in to comment.