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

CSS concatenation order matches the import order #39889

Merged
merged 4 commits into from Jun 14, 2023
Merged

Conversation

JohnAlbin
Copy link
Contributor

Given the amount of CSS ordering problems mentioned in the issue queue (see #16630), it's clear, for most people, that it is NOT obvious that the order of CSS concatenation matches the order of importing CSS and modules inside _app.js.

We should try to make this fact explicit in the docs. Right now, it's only implied.

Documentation checklist

  • Make sure the linting passes by running pnpm lint
  • The examples guidelines are followed from our contributing doc

Given the amount of CSS ordering problems mentioned in the issue queue (see vercel#16630), it's clear, for most people, that it is NOT obvious that the order of CSS concatenation matches the order of importing CSS and modules.

We should try to make this fact explicit in the docs. Right now, it's only implied.
ijjk added 2 commits June 13, 2023 23:23
# Conflicts:
#	docs/basic-features/built-in-css-support.md
Copy link
Member

@ijjk ijjk left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Adding this additional context seems good, thanks!

@ijjk ijjk merged commit 1e79672 into vercel:canary Jun 14, 2023
6 of 23 checks passed
@ianldgs
Copy link
Contributor

ianldgs commented Jun 14, 2023

What about on the root layout.tsx? It doesn't seem to match the import order...

@github-actions github-actions bot locked as resolved and limited conversation to collaborators Jul 14, 2023
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

3 participants