Material-ui: [Table] TablePagination responsive display issue

Created on 25 Nov 2019  路  9Comments  路  Source: mui-org/material-ui

Hi. There is a problem with the TablePagination. I've tried to fix it, but I'm not having success at all. Do you know how to fix it? This is a print on your website:
table_rows
Thanks.

bug 馃悰 Table good first issue

All 9 comments

@pedroRelvas Thanks for the report. I can reproduce, it seems that we could benefit from the following style:

diff --git a/packages/material-ui/src/TablePagination/TablePagination.js b/packages/material-ui/src/TablePagination/TablePagination.js
index cb2599303..7e70c7bdf 100644
--- a/packages/material-ui/src/TablePagination/TablePagination.js
+++ b/packages/material-ui/src/TablePagination/TablePagination.js
@@ -16,6 +16,7 @@ export const styles = theme => ({
   root: {
     color: theme.palette.text.primary,
     fontSize: theme.typography.pxToRem(14),
+    overflow: 'auto',
     // Increase the specificity to override TableCell.
     '&:last-child': {
       padding: 0,

Do you want to try the changes out? :)

@oliviertassinari
It works! Thanks!

Great. Do you want to submit a pull request?

Yes!

@oliviertassinari
remote: Permission to mui-org/material-ui.git denied to joseRelvasF3m.
fatal: unable to access 'https://github.com/mui-org/material-ui.git/': The requested URL returned error: 403

Can you give access to joseRelvasF3m?

@pedroRelvas You need to create a fork. Check our contribution guide.

@oliviertassinari
I'm following the guide but I can't fork properly. This is the error:
duvida

@pedroRelvas You are cloning with ssh, so You need add a ssh key to GIthub. You can add it following the next tutorial https://help.github.com/en/enterprise/2.17/user/authenticating-to-github/generating-a-new-ssh-key-and-adding-it-to-the-ssh-agent

@pedroRelvas You can use the GitHub web UI too, it can be simpler for a one-line change.

Was this page helpful?
0 / 5 - 0 ratings

Related issues

sys13 picture sys13  路  3Comments

zabojad picture zabojad  路  3Comments

mattmiddlesworth picture mattmiddlesworth  路  3Comments

FranBran picture FranBran  路  3Comments

chris-hinds picture chris-hinds  路  3Comments