We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
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
Expected behavior: Order of generated styles is same as in jss styles
Describe the bug: In some cases for nested styles order of generated styles is REVERSED
Reproduction: Styles:
export const test = createUseStyles({ test: { '& $first': { // '&:hover': { color: 'white' }, }, '& $second': { // '&:hover': { color: 'red' }, }, }, first: { color: 'red' }, second: { color: 'blue' }, });
Generated styles:
<style data-jss="" data-meta="Unthemed"> .test-0-2-931 .second-0-2-933:hover { color: red; } .test-0-2-931 .first-0-2-932:hover { color: white; } .first-0-2-932 { color: red; } .second-0-2-933 { color: blue; } </style>
Versions (please complete the following information):
The text was updated successfully, but these errors were encountered:
No branches or pull requests
Expected behavior:
Order of generated styles is same as in jss styles
Describe the bug:
In some cases for nested styles order of generated styles is REVERSED
Reproduction:
Styles:
Generated styles:
Versions (please complete the following information):
The text was updated successfully, but these errors were encountered: