Regression - global css inside tag statement is not working
Author: madmaniakCreated Jan 28, 2024Updated Jan 28, 2024
Labelsbug
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:1pxWhy 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
Source: imba/imba