Skip to content

Css Pseudo Class conversion to CSSinJs doesn't work as per JSS syntax #35

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

Open
rishabhrathod01 opened this issue Sep 18, 2020 · 0 comments

Comments

@rishabhrathod01
Copy link

For my use case i had css with lots of Css Pseudo Classes
here is a demo example

.titleContainer {
display: flex;
flex-direction: row;
padding: 0 0 0 2rem;
}

.titleContainer:hover {
font-weight: 900;
}

Expected Behaviour ( as per JSS library ):-

"titleContainer": {
"display": "flex",
"flexDirection": "row",
"padding": "0 0 0 2rem",
"&:hover": {
"fontWeight": 900
}
}

Actual Behaviour :-

.titleContainer {
display: 'flex',
flexDirection: 'row',
padding: '0 0 0 2rem',
}

.titleContainer:hover {
fontWeight: '900',
}

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

1 participant