From fab499a9cc2847a88f897023313fae4751633f98 Mon Sep 17 00:00:00 2001 From: Michael Shamoon <4887959+nikonratm@users.noreply.github.com> Date: Sat, 30 May 2020 20:00:14 -0700 Subject: [PATCH] Login wallpaper use background-size: cover --- ui/src/app/core/auth/login/login.component.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/ui/src/app/core/auth/login/login.component.ts b/ui/src/app/core/auth/login/login.component.ts index d29e4585a..e7de2dcbb 100644 --- a/ui/src/app/core/auth/login/login.component.ts +++ b/ui/src/app/core/auth/login/login.component.ts @@ -42,7 +42,7 @@ export class LoginComponent implements OnInit { const backgroundImageUrl = this.$auth.env.customWallpaperHash ? environment.api.base + '/auth/wallpaper/' + this.$auth.env.customWallpaperHash : '/assets/snapshot.jpg'; - this.backgroundStyle = `url('${backgroundImageUrl}') no-repeat center center fixed`; + this.backgroundStyle = `url('${backgroundImageUrl}') center/cover`; } async onSubmit({ value, valid }) {