I have an app that contains 4 components inside it:
<div [@routerTransition] class="position-relative overflow-hidden pt-3 m-md-3">
<div class="mx-auto mb-5 pb-1 container">
<app-set-vehicle-details id="step1" (step1Finished)="enableStep2($event)" (busy)="setBusy($event)"></app-set-vehicle-details>
<app-product-selection id="step2" *ngIf="step2Enabled"></app-product-selection>
<app-product-details id="step3" *ngIf="step3Enabled"></app-product-details>
<app-customer-details id="step4" *ngIf="step4Enabled"></app-customer-details>
</div>
</div>
My view is supposed to look like this:
That corresponds to the app-set-vehicle-details component. Note the grey background there.
But when the second component is added, the background turns white:
But don't understand why this background is changing like that. Some css attached:
.theme-main [_nghost-etm-c5] {
background-color: #F0F0F7 !important;
color: #4D4F5C !important;
}
This is a screen capture of the main container:
I find no reason why the white part is appearing. The only thing that happens is that the second component appears dynamically, after an action. I'm not sure if that's the responsible of that height reprint?
Thanks for any help in advance!
To clarify a little bit:
Styles are being retrieved from a custom library, called
styles.scssThis is the style applied to the body:
So h-100 from Bootstrap, what produces:
But still not working... Any ideas?




