Commit 20d2b75a by Muhammad Usman

ipad profile mobile view

parent 9cc1cc2a
...@@ -21,13 +21,13 @@ export class BaseComponent implements AfterViewInit, OnDestroy { ...@@ -21,13 +21,13 @@ export class BaseComponent implements AfterViewInit, OnDestroy {
clearTimeout(this.resizeTimeout); clearTimeout(this.resizeTimeout);
} }
this.resizeTimeout = setTimeout((() => { this.resizeTimeout = setTimeout((() => {
this.isMobileView = document.body.getBoundingClientRect().width <= 896; this.isMobileView = document.body.getBoundingClientRect().width <= 1024;
}), 500); }), 500);
} }
ngAfterViewInit(): void { ngAfterViewInit(): void {
setTimeout(() => { setTimeout(() => {
this.isMobileView = document.body.getBoundingClientRect().width <= 896; this.isMobileView = document.body.getBoundingClientRect().width <= 1024;
}, 100); }, 100);
} }
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment