From f57c147a47e6c49e134f0690e4621699126d2fa8 Mon Sep 17 00:00:00 2001 From: safran_ Date: Thu, 31 Dec 2020 21:27:23 +0100 Subject: [PATCH] =?UTF-8?q?=E2=9C=A8=20CSS=20-=20Fix=20jagged=20edges=20on?= =?UTF-8?q?=20diagonal=20gradient=20overlay=20on=20landing=20page?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/Ombi/ClientApp/src/app/landingpage/landingpage.component.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/Ombi/ClientApp/src/app/landingpage/landingpage.component.ts b/src/Ombi/ClientApp/src/app/landingpage/landingpage.component.ts index 80bba97b2..4d1d4166c 100644 --- a/src/Ombi/ClientApp/src/app/landingpage/landingpage.component.ts +++ b/src/Ombi/ClientApp/src/app/landingpage/landingpage.component.ts @@ -35,7 +35,7 @@ export class LandingPageComponent implements OnDestroy, OnInit { this.settingsService.getCustomization().subscribe(x => this.customizationSettings = x); this.settingsService.getLandingPage().subscribe(x => this.landingPageSettings = x); this.images.getRandomBackground().subscribe(x => { - this.background = this.sanitizer.bypassSecurityTrustStyle("linear-gradient(-10deg, transparent 20%, rgba(0,0,0,0.7) 20.0%, rgba(0,0,0,0.7) 80.0%, transparent 80%), url(" + x.url + ")"); + this.background = this.sanitizer.bypassSecurityTrustStyle("linear-gradient(-10deg, transparent 19%, rgba(0,0,0,0.7) 20.0%, rgba(0,0,0,0.7) 79%, transparent 80%), url(" + x.url + ")"); }); this.timer = setInterval(() => { this.cycleBackground();