diff options
Diffstat (limited to 'client/src/app/core/wrappers/screen.service.ts')
-rw-r--r-- | client/src/app/core/wrappers/screen.service.ts | 9 |
1 files changed, 4 insertions, 5 deletions
diff --git a/client/src/app/core/wrappers/screen.service.ts b/client/src/app/core/wrappers/screen.service.ts index a085e5bdc..c133b5fe9 100644 --- a/client/src/app/core/wrappers/screen.service.ts +++ b/client/src/app/core/wrappers/screen.service.ts | |||
@@ -38,11 +38,10 @@ export class ScreenService { | |||
38 | 38 | ||
39 | let numberOfVideos = 1 | 39 | let numberOfVideos = 1 |
40 | 40 | ||
41 | if (screenWidth > 1850) numberOfVideos = 7 | 41 | if (screenWidth > 1850) numberOfVideos = 5 |
42 | else if (screenWidth > 1600) numberOfVideos = 6 | 42 | else if (screenWidth > 1600) numberOfVideos = 4 |
43 | else if (screenWidth > 1370) numberOfVideos = 5 | 43 | else if (screenWidth > 1370) numberOfVideos = 3 |
44 | else if (screenWidth > 1100) numberOfVideos = 4 | 44 | else if (screenWidth > 1100) numberOfVideos = 2 |
45 | else if (screenWidth > 850) numberOfVideos = 3 | ||
46 | 45 | ||
47 | return numberOfVideos | 46 | return numberOfVideos |
48 | } | 47 | } |