Skip to content

Style is applying to everything if the style only contains a subnode #129

@bontaq

Description

@bontaq

Problem encountered when doing this:

starterStyle = [style|
  a {
    text-decoration: underline;
  }
|]

The style applied to the div instead of to a. Fixed by doing

starterStyle = [style|
  font-size: inherit;
  a {
    text-decoration: underline;
  }
|]

But obviously that's not a real fix

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