Skip to content

Conversation

@ovflowd
Copy link
Member

@ovflowd ovflowd commented Mar 13, 2023

This PR fixes the bug that was introduced on #5079 because class names when applied to the own element cannot use the same connotation as before.

Explanation: If you apply a class name to "body", to apply styling when that classname is applied, you should use "body.classname" not ".classname body", the second approach only works for children elements.

@ovflowd
Copy link
Member Author

ovflowd commented Mar 13, 2023

@nodejs/website merging this as being a hot-fix

@ovflowd ovflowd merged commit 4a0a2ce into nodejs:main Mar 13, 2023
@ovflowd ovflowd deleted the fix/color-schema-with-classname branch March 13, 2023 20:47
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.

1 participant