Imba-rollup web component styles don't work

These styles won’t be applied. If I use the class of .main-content it will work.

tag app-root
	def render
				<h1> "Hello World!"
tag main-content < main

### css
main-content {
	border: 1px solid red;

“imba”: “^2.0.0-alpha.23”,
“imba-rollup”: “^1.0.4”

We need to figure out how to do this. When you inherit from a native tag it is actually rendered as one (so you’d need to style main). Maybe we should add class names by default like we did in v1.

1 Like

i don’t mind class names by default when inheriting from native tags or in general.