From 7d34933542fd9dba81e5f3d90e26029c6a17bf59 Mon Sep 17 00:00:00 2001 From: twanariens Date: Sun, 24 Jan 2021 02:21:18 +0100 Subject: [PATCH] A special commit for the Ombi Bitch (fix for huge resolution display) --- .../carousel-list/carousel-list.component.ts | 32 ++++++++++++++++++- 1 file changed, 31 insertions(+), 1 deletion(-) diff --git a/src/Ombi/ClientApp/src/app/discover/components/carousel-list/carousel-list.component.ts b/src/Ombi/ClientApp/src/app/discover/components/carousel-list/carousel-list.component.ts index f19a17b7e..8cf8d4028 100644 --- a/src/Ombi/ClientApp/src/app/discover/components/carousel-list/carousel-list.component.ts +++ b/src/Ombi/ClientApp/src/app/discover/components/carousel-list/carousel-list.component.ts @@ -34,12 +34,42 @@ export class CarouselListComponent implements OnInit { get mediaTypeStorageKey() { return "DiscoverOptions" + this.discoverType.toString(); }; - private amountToLoad = 14; + private amountToLoad = 17; private currentlyLoaded = 0; constructor(private searchService: SearchV2Service, private storageService: StorageService) { this.responsiveOptions = [ + { + breakpoint: '4000px', + numVisible: 17, + numScroll: 17 + }, + { + breakpoint: '3800px', + numVisible: 16, + numScroll: 16 + }, + { + breakpoint: '3600px', + numVisible: 15, + numScroll: 15 + }, + { + breakpoint: '3400px', + numVisible: 14, + numScroll: 14 + }, + { + breakpoint: '3200px', + numVisible: 13, + numScroll: 13 + }, + { + breakpoint: '3000px', + numVisible: 12, + numScroll: 12 + }, { breakpoint: '2800px', numVisible: 11,