Skip to content
Snippets Groups Projects
Commit 8f0e6b50 authored by Dave LiPuma's avatar Dave LiPuma
Browse files

#361 - fix theme preview background

parent d6f9f34a
No related branches found
No related tags found
No related merge requests found
......@@ -68,10 +68,14 @@ export default {
logo () { return this.$store.state.instance.logo },
bgStyle () {
return {
'--body-background-image': `url(${this.background})`,
'background-image': `url(${this.background})`
}
},
bgAppStyle () {
return {
'--body-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 },
......
<template>
<div id="app">
<div id="app" v-bind:style="bgAppStyle">
<div class="app-bg-wrapper" v-bind:style="bgStyle"></div>
<nav class='nav-bar container' @click="scrollToTop()" id="nav">
<div class='logo' :style='logoBgStyle'>
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment