-
-
Notifications
You must be signed in to change notification settings - Fork 32.4k
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
[JSS] Pseudo elements are not working #11839
Comments
button: {
"&::before": {
- content: "before"
+ content: "'before'"
}
} |
👋 Thanks for using Material-UI! We use the issue tracker exclusively for bug reports and feature requests, however, If you would like to link from here to your question on SO, it will help others find it. |
@oliviertassinari Thanks! Sorry for such a silly question |
What if we want to use a space for content? In normal css |
Never mind solved it as per @oliviertassinari comment here cssinjs/jss#242 (comment) |
Expected Behavior
Pseudo elements (
::before
and::after
) are working.Current Behavior
Pseudo elements (
::before
and::after
) are not working.Steps to Reproduce (for bugs)
::before
styles are applied toButton
, but are not visible (even in dev tools)Context
Note, that custom
JssProvider
is not configured - I'm just using single component from@material-ui/core
. But I believe I don't have to configureJssProvider
to make jss plugins work.Also, looks like other pseudo-selectors are not working too.
Am I doing something wrong?
Your Environment
The text was updated successfully, but these errors were encountered: