Skip to content

Regression - global css inside tag statement is not working #888

@madmaniak

Description

@madmaniak

Description

I had global css definitions inside components - definitions were global, but they were logically about the component. Moving them outside tag statement makes it work again.

Example, this will not work anymore (in 2.0.0-alpha.234):

tag a-component
   global css a-component p:1px

Why I used it as global in a first place? It was a hack, as for some reason it wasn't working well being not global... Anyway it doesn't hurt to have the possibility of defining global css inside the tag, if developer decides it is more readable this way.

Reproduction

No response

System Environment

No response

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions