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

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

Open
madmaniak opened this issue Jan 28, 2024 · 0 comments
Open

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

madmaniak opened this issue Jan 28, 2024 · 0 comments
Labels

Comments

@madmaniak
Copy link
Member

madmaniak commented Jan 28, 2024

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

@madmaniak madmaniak added the bug label Jan 28, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

1 participant