Skip to content
Discussion options

You must be logged in to vote

@imnasnainaec It's simply because you should only be adding a max-height on the table conatiner div instead of the <table> element itself.

 muiTableContainerProps: { sx: { maxHeight: "400px" } },

is the proper way to add a max-height to the table

Replies: 1 comment 2 replies

Comment options

You must be logged in to vote
2 replies
@imnasnainaec
Comment options

@nimo23
Comment options

Answer selected by imnasnainaec
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
3 participants