aboutsummaryrefslogtreecommitdiff
path: root/src/App.js
diff options
context:
space:
mode:
authorEgor Kislitsyn <egor@kislitsyn.com>2018-12-13 18:22:15 +0700
committerEgor Kislitsyn <egor@kislitsyn.com>2018-12-13 18:22:15 +0700
commita8521fc8d99ee7ee5142e2c7c642eee0fc14ed93 (patch)
tree53e98662ef34b8bccc845f627c125528c1c1436c /src/App.js
parentb3455649c53034e01725977260e69cff59c47e87 (diff)
parente443716bcd616ad61efae161624dd970841a935c (diff)
Merge commit 'e443716bcd616ad61efae161624dd970841a935c' into feature/push-subscriptions
# Conflicts: # src/i18n/en.json # src/modules/interface.js # src/modules/users.js # yarn.lock
Diffstat (limited to 'src/App.js')
-rw-r--r--src/App.js7
1 files changed, 6 insertions, 1 deletions
diff --git a/src/App.js b/src/App.js
index 3bfd307f..89aed01d 100644
--- a/src/App.js
+++ b/src/App.js
@@ -59,7 +59,12 @@ export default {
})
},
logo () { return this.$store.state.instance.logo },
- style () { return { 'background-image': `url(${this.background})` } },
+ style () {
+ return {
+ '--body-background-image': `url(${this.background})`,
+ 'background-image': `url(${this.background})`
+ }
+ },
sitename () { return this.$store.state.instance.name },
chat () { return this.$store.state.chat.channel.state === 'joined' },
suggestionsEnabled () { return this.$store.state.instance.suggestionsEnabled },