1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20
:host { display: flex; overflow: auto; height: 100vh; .container { height: 100%; } main { flex: 1; position: relative; } /deep/ router-outlet ~ * { position: absolute; width: 100%; // height: 100%; } }