diff --git a/aio/src/app/app.component.html b/aio/src/app/app.component.html
index 6f9fd7fd11..6ecd5b23eb 100644
--- a/aio/src/app/app.component.html
+++ b/aio/src/app/app.component.html
@@ -5,7 +5,7 @@
-
+
diff --git a/aio/src/app/app.component.ts b/aio/src/app/app.component.ts
index dfd1812749..874fdf24d6 100644
--- a/aio/src/app/app.component.ts
+++ b/aio/src/app/app.component.ts
@@ -43,6 +43,7 @@ export class AppComponent implements OnInit {
this.onResize(window.innerWidth);
}
+ @HostListener('window:resize', ['$event.target.innerWidth'])
onResize(width) {
this.isSideBySide = width > this.sideBySideWidth;
}