CSS not applyed correctly
Posted: 17 Jan 2019, 23:02
Hey,
I'm currently using grid layout into my app but i have some issue with the rendering.
When i begin to split the layout into multiple components, the grid/flexgrid style is not applied correctly.
Working example :
Not working example :
Where the template for <any-component> is :
Don't i use it correctly or is it a bug ?
Thanks in advance.
I'm currently using grid layout into my app but i have some issue with the rendering.
When i begin to split the layout into multiple components, the grid/flexgrid style is not applied correctly.
Working example :
Code: Select all
<div class="ui-g">
<div class="ui-g-12 card">
<div class="ui-g">
<div class="ui-g-3"></div>
<div class="ui-g-3"></div>
<div class="ui-g-3"></div>
</div>
</div>
</div>
Code: Select all
<any-component>
<div class="ui-g">
<div class="ui-g-3"></div>
<div class="ui-g-3"></div>
<div class="ui-g-3"></div>
</div>
</any-component>
Code: Select all
<div class="ui-g">
<div class="ui-g-12 card">
<ng-content></ng-content>
</div>
</div>
Thanks in advance.