Skip to content

Commit

Permalink
Merge pull request #723 from nikonratm/nikonratm-wallpaper-cover
Browse files Browse the repository at this point in the history
Login wallpaper use background-size: cover
  • Loading branch information
oznu committed Jun 2, 2020
2 parents 369e03d + fab499a commit 5d55494
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion ui/src/app/core/auth/login/login.component.ts
Original file line number Diff line number Diff line change
Expand Up @@ -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 }) {
Expand Down

0 comments on commit 5d55494

Please sign in to comment.