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

Adding components to layout.tsx has unexpected css compilation #8

Closed
prodigious-moustachio opened this issue Sep 19, 2023 · 1 comment

Comments

@prodigious-moustachio
Copy link

When adding a component Shell to layout.tsx layout.css is compiled allowing mantine styling to override component styles e.g.,

.Shell-root {}
.mantine-styles {}

If I add the component to a page, then layout.css compiles with the expected specificity. Is this a bug or is there an approach that avoids this issue?

@rtivital
Copy link
Member

It is a known issue of Next.js – vercel/next.js#16630
On our side, it is planned to introduce separate bundles with css layers in next minor release.

irevdev pushed a commit to rvise-au/rvise-ui-library that referenced this issue Mar 27, 2024
irevdev pushed a commit to rvise-au/rvise-ui-library that referenced this issue Mar 27, 2024
Delete role in list within pricing widget
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

2 participants