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

[@mantine/core] Table: Avoid style bleed #4393

Merged
merged 1 commit into from Jun 18, 2023

Conversation

apoco
Copy link
Contributor

@apoco apoco commented Jun 11, 2023

Ensure table stylings apply to immediate children only. This avoids things like the calendar pop-up nested inside of a <Table/> inheriting the styles of the parent.

Ensure table stylings apply to immediate children only
@apoco apoco changed the title Avoid style bleed [@mantine/core] Table: Avoid style bleed Jun 11, 2023
@rtivital rtivital merged commit c43c5f4 into mantinedev:master Jun 18, 2023
1 check passed
@rtivital
Copy link
Member

Thanks!

@KevinVandy
Copy link

I think this PR started causing an issue #4433

@rtivital
Copy link
Member

@apoco Can you fix this? Otherwise, the PR will be reverted in the next patch.

@jpage-godaddy
Copy link

I found the bug. Will send a fix 😮‍💨

@jpage-godaddy
Copy link

jpage-godaddy commented Jun 21, 2023

In case it'd be faster, basically this selector on line 77:

& > thead > th, & > tbody > td

...should have been:

& > thead > tr > th, & > tbody > tr > td

@apoco
Copy link
Contributor Author

apoco commented Jun 21, 2023

Pull request to fix this in #4443; sorry about that, and thanks again for a great library.

@apoco apoco deleted the bleeding-stripe-styles branch June 21, 2023 18:52
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

Successfully merging this pull request may close these issues.

None yet

4 participants