-
-
Notifications
You must be signed in to change notification settings - Fork 460
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Cannot access pagination styling #1291
Comments
Had the same question, looked at the source code. Looks like pagination is part of In saying that the access is limited with no unique classNames on areas that you would want to restyle. I would appreciate more classNames here. |
It's super hacky to style the pagination, this really needs to be improved. It should be addressable via the MUI theme. |
I ended up with: muiBottomToolbarProps: {
sx: {
minHeight: 45,
".MuiTablePagination-root": {
height: 45,
py: 0,
".MuiInputLabel-root, .MuiTypography-root": {
fontSize: 14,
},
},
},
}, |
I want to put the pagination on the left side, is there an easy way to do that? |
material-react-table version
v3.0.1
react & react-dom versions
v18.3.1
Describe the bug and the steps to reproduce it
I would like to make adjustments to the pagination styling (for instance font sizes), but setting
muiPaginationProps.sx
does not seem to have any effect.Minimal, Reproducible Example - (Optional, but Recommended)
Can add if necessary.
Screenshots or Videos (Optional)
No response
Do you intend to try to help solve this bug with your own PR?
No, because I do not have time to dig into it
Terms
The text was updated successfully, but these errors were encountered: