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 selector with multiple groups aren't all prefixed with class name #53

Open
romdoq opened this issue Jan 8, 2019 · 0 comments
Open

Comments

@romdoq
Copy link

romdoq commented Jan 8, 2019

If one has a style defined in the following manner:

(defstyles my-style []
  {"th, td" {:border-width 0.1em}})

The nested selector will be expanded out to something like:

.my-app_css__my-style th, td

Which will apply the given style globally to all td elements. Rather, I would expect the resultant selector to have the base class name prepended to each selector group in the list, eg:

.my-app_css__my-style th, .my-app_css__my-style td

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