From cf78883c70dca99fc519374d55620d9403d482be Mon Sep 17 00:00:00 2001 From: Chocobozzz Date: Thu, 11 Jun 2020 14:33:33 +0200 Subject: Limit thumbnail sizes --- client/src/app/shared/misc/screen.service.ts | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) (limited to 'client/src/app/shared/misc') diff --git a/client/src/app/shared/misc/screen.service.ts b/client/src/app/shared/misc/screen.service.ts index fa9c71e5b..a69fad31d 100644 --- a/client/src/app/shared/misc/screen.service.ts +++ b/client/src/app/shared/misc/screen.service.ts @@ -36,11 +36,11 @@ export class ScreenService { let numberOfVideos = 1 - if (screenWidth > 1850) numberOfVideos = 6 - else if (screenWidth > 1600) numberOfVideos = 5 - else if (screenWidth > 1370) numberOfVideos = 4 - else if (screenWidth > 1100) numberOfVideos = 3 - else if (screenWidth > 850) numberOfVideos = 2 + if (screenWidth > 1850) numberOfVideos = 7 + else if (screenWidth > 1600) numberOfVideos = 6 + else if (screenWidth > 1370) numberOfVideos = 5 + else if (screenWidth > 1100) numberOfVideos = 4 + else if (screenWidth > 850) numberOfVideos = 3 return numberOfVideos } -- cgit v1.2.3