Skip to content

What to do if there's multiple potential parents? #4

@TimChinye

Description

@TimChinye

Sometimes there might be multiple potential parents for a rule. Currently the code uses a "first-found" logic in renestCSS match your preference. It might be worth using a more complex heuristic for choosing the "best" parent (like, the one that shares the longest prefix or the one with a comment above it)?

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