Solve background image resize

This commit is contained in:
BySempron
2023-01-10 20:21:51 +01:00
parent f11e6bfd44
commit 728eb0256e
2 changed files with 2 additions and 2 deletions

View File

@@ -118,7 +118,7 @@ export default {
/* Make CSS styles to apply the users custom background image */
getBackgroundImage() {
if (this.appConfig && this.appConfig.backgroundImg) {
return `background: url('${this.appConfig.backgroundImg}');background-size:cover;`;
return `background: url('${this.appConfig.backgroundImg}') no-repeat center fixed;background-size:cover;`;
}
return '';
},