Skip to content
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

Pagination size error when scale #1090

Open
1 task done
FlorianBurgevin opened this issue Apr 11, 2024 · 0 comments
Open
1 task done

Pagination size error when scale #1090

FlorianBurgevin opened this issue Apr 11, 2024 · 0 comments

Comments

@FlorianBurgevin
Copy link

material-react-table version

beta

react & react-dom versions

18.2.0

Describe the bug and the steps to reproduce it

Hello.

I'm building a very simple table with default examples.

In order to have custom icons (for sorting for example) later, i have to scale the table because icons are too small on default config.

const theme = createTheme({
scale: 1.5,
});

By doing that, icons are ok but it breaks the pagination block.

image

Minimal, Reproducible Example - (Optional, but Recommended)

Get any of basic examples in the website and add scale: 2 in the theme property.

Here i just added scale in theme properties
https://codesandbox.io/p/devbox/bitter-hill-vmqnqr?file=%2Fsrc%2FTS.tsx%3A63%2C5

Maybe this is not the good way to have bigger icons ?

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 know how

Terms

  • I understand that if my bug cannot be reliably reproduced in a debuggable environment, it will probably not be fixed and this issue may even be closed.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant