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

Nested JSS classes without any css rules does not export the classname #14

Closed
nicholasrice opened this issue Mar 7, 2018 · 0 comments
Closed
Assignees
Labels
bug A bug
Milestone

Comments

@nicholasrice
Copy link
Contributor

Expected behavior

One should be able to nest a JSS class without defining root style rules

{
    root: {
        "& $nested: { color: "red" }
   },
   nested: {}
}

Actual behavior

There is no class exposed under the nested key of the classes object.

@nicholasrice nicholasrice self-assigned this Mar 7, 2018
@awentzel awentzel added bug A bug and removed issue labels Mar 7, 2018
@nicholasrice nicholasrice changed the title Nested JSS classes but have a root rule Nested JSS classes without any css rules does not export the classname Mar 8, 2018
@Falkicon Falkicon added this to the May 2018 milestone May 23, 2018
@Falkicon Falkicon modified the milestones: May 2018, June 2018 Jun 7, 2018
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug A bug
Projects
None yet
Development

No branches or pull requests

3 participants