]> git.immae.eu Git - github/Chocobozzz/PeerTube.git/commitdiff
Fix overview page with new thumbnail size
authorChocobozzz <me@florianbigard.com>
Wed, 28 Apr 2021 07:18:02 +0000 (09:18 +0200)
committerChocobozzz <me@florianbigard.com>
Wed, 28 Apr 2021 07:18:02 +0000 (09:18 +0200)
client/src/app/core/wrappers/screen.service.ts

index c133b5fe91b6f41de258c79feb93059e8c1f5771..fd8268b35336cb338bc554cf9ab4b60d2d691e0e 100644 (file)
@@ -39,9 +39,9 @@ export class ScreenService {
     let numberOfVideos = 1
 
     if (screenWidth > 1850) numberOfVideos = 5
-    else if (screenWidth > 1600) numberOfVideos = 4
-    else if (screenWidth > 1370) numberOfVideos = 3
-    else if (screenWidth > 1100) numberOfVideos = 2
+    else if (screenWidth > 1410) numberOfVideos = 4
+    else if (screenWidth > 1120) numberOfVideos = 3
+    else if (screenWidth > 890) numberOfVideos = 2
 
     return numberOfVideos
   }