Open
Description
Environment
- CLI: 6.1.2
- Android Runtime: 6.1.2
- iOS Runtime: 6.1.0
- nativescript-theme-core: 2.0.24
- Using Nativescript iwth Angular
Describe the bug
When setting a class on the ActionBar
or a GridLayout
inside of it, css inheritance doesn't work.
To Reproduce
- Create a component with the html:
<ActionBar class="interit-test">
<GridLayout class="inherit-test">
<Label text="I want to be red"></Label>
</GridLayout>
</ActionBar>
- Add this to the css file:
.inherit-test {
color: red;
}
- See that the label isn't red but black.
Expected behavior
The label should be red since it should ingerit the color from the GridLayout
and the ActionBar
.