I'm trying to create a layout with Angular 7 and CSS Grid. The problem I have is that the router-outlet
only takes up one column in the second row.
I have created a StackBlitz here.
As you can see in app.component.css
I want router-outlet
(and any of its content) to take up grid-column: 2 / 5
, as of now it takes up 2 / 3.
Is what I'm trying to achieve possible?
router-outlet
has content, instead, all the router-driven templates are rendered next to router-outlet. This is by Angular design and this is what one should consider while using CSS flex and grid. – Calamondin