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

My Table does not have borders between rows like in the example; I cannot apply borders to table; They disappeared after one refresh #42230

Closed
GeorgeFlorian opened this issue May 14, 2024 · 2 comments
Labels
component: table This is the name of the generic UI component, not the React module! status: waiting for author Issue with insufficient information

Comments

@GeorgeFlorian
Copy link

GeorgeFlorian commented May 14, 2024

Steps to reproduce

I can't reproduce it in a sandbox.

Current behavior

It doesn't have row borders:
image

I have even tried adding them with :

const StyledTableRow = styled(TableRow)(({ theme }) => {
  const borderColor = theme.palette.secondary.light

  return {
    '& > *': {
      borderBottom: `1px solid ${borderColor}`,
    },
    '&:last-child > *': {
      borderBottom: 'unset',
    },
  }
})

But the border disappeared after one refresh.

Expected behavior

The rows should have borders like it does in the documentation.

I can't apply borders to my MUI table.

Context

No response

Your environment

No response

Search keywords: table doesn't have row borders

@GeorgeFlorian GeorgeFlorian added the status: waiting for maintainer These issues haven't been looked at yet by a maintainer label May 14, 2024
@GeorgeFlorian GeorgeFlorian changed the title My Table does not have borders between rows like in the example My Table does not have borders between rows like in the example; I cannot apply borders to table; They disappeared after one refresh May 14, 2024
@mnajdova
Copy link
Member

I can't reproduce it in a sandbox.

We can't rely do anything without reproduction. Try creating a repository if you can't do it on codesandbox.

@mnajdova mnajdova added component: table This is the name of the generic UI component, not the React module! status: waiting for author Issue with insufficient information and removed status: waiting for maintainer These issues haven't been looked at yet by a maintainer labels May 14, 2024
Copy link

Since the issue is missing key information and has been inactive for 7 days, it has been automatically closed. If you wish to see the issue reopened, please provide the missing information.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
component: table This is the name of the generic UI component, not the React module! status: waiting for author Issue with insufficient information
Projects
None yet
Development

No branches or pull requests

2 participants