aboutsummaryrefslogtreecommitdiffhomepage
diff options
context:
space:
mode:
authorChocobozzz <me@florianbigard.com>2021-04-28 09:18:02 +0200
committerChocobozzz <me@florianbigard.com>2021-04-28 09:18:02 +0200
commit9e1409713dc5a5a73707a0c9f7cef780e1a82dcd (patch)
treed7b5cbbad5d4a2c747c7656dc92d7e4388835c92
parenta45050e09edf6e2d74b6db48196f44ef9ce8fa58 (diff)
downloadPeerTube-9e1409713dc5a5a73707a0c9f7cef780e1a82dcd.tar.gz
PeerTube-9e1409713dc5a5a73707a0c9f7cef780e1a82dcd.tar.zst
PeerTube-9e1409713dc5a5a73707a0c9f7cef780e1a82dcd.zip
Fix overview page with new thumbnail size
-rw-r--r--client/src/app/core/wrappers/screen.service.ts6
1 files changed, 3 insertions, 3 deletions
diff --git a/client/src/app/core/wrappers/screen.service.ts b/client/src/app/core/wrappers/screen.service.ts
index c133b5fe9..fd8268b35 100644
--- a/client/src/app/core/wrappers/screen.service.ts
+++ b/client/src/app/core/wrappers/screen.service.ts
@@ -39,9 +39,9 @@ export class ScreenService {
39 let numberOfVideos = 1 39 let numberOfVideos = 1
40 40
41 if (screenWidth > 1850) numberOfVideos = 5 41 if (screenWidth > 1850) numberOfVideos = 5
42 else if (screenWidth > 1600) numberOfVideos = 4 42 else if (screenWidth > 1410) numberOfVideos = 4
43 else if (screenWidth > 1370) numberOfVideos = 3 43 else if (screenWidth > 1120) numberOfVideos = 3
44 else if (screenWidth > 1100) numberOfVideos = 2 44 else if (screenWidth > 890) numberOfVideos = 2
45 45
46 return numberOfVideos 46 return numberOfVideos
47 } 47 }