Signed-off-by: Julius Härtl <jus@bitgrid.net>
}
}
},
+ backgroundImage: {
+ immediate: true,
+ handler() {
+ const header = document.getElementById('header')
+ header.style.backgroundImage = `url(${this.backgroundImage})`
+ },
+ },
},
mounted() {
setInterval(() => {
<style lang="scss">
// Show Dashboard background image beneath header
#body-user #header {
- background: none;
+ background-size: cover;
+ background-position: center 50%;
+ background-repeat: no-repeat;
+ background-attachment: fixed;
}
#content {