Skip to content

Nested selector with multiple groups aren't all prefixed with class name #53

Open
@romdoq

Description

@romdoq

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

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions