aboutsummaryrefslogtreecommitdiffhomepage
path: root/client/src/app/shared/misc
diff options
context:
space:
mode:
Diffstat (limited to 'client/src/app/shared/misc')
-rw-r--r--client/src/app/shared/misc/screen.service.ts4
1 files changed, 4 insertions, 0 deletions
diff --git a/client/src/app/shared/misc/screen.service.ts b/client/src/app/shared/misc/screen.service.ts
index 220d41d59..9c71a8c83 100644
--- a/client/src/app/shared/misc/screen.service.ts
+++ b/client/src/app/shared/misc/screen.service.ts
@@ -14,6 +14,10 @@ export class ScreenService {
14 return this.getWindowInnerWidth() < 800 14 return this.getWindowInnerWidth() < 800
15 } 15 }
16 16
17 isInMediumView () {
18 return this.getWindowInnerWidth() < 1100
19 }
20
17 isInMobileView () { 21 isInMobileView () {
18 return this.getWindowInnerWidth() < 500 22 return this.getWindowInnerWidth() < 500
19 } 23 }