From 7af9423d5b2df9d90d6235c7d29a831ba211219a Mon Sep 17 00:00:00 2001 From: ManjaroOne666 Date: Thu, 3 Jan 2019 14:55:20 +0000 Subject: [PATCH] update background styling --- components/ContentPage.vue | 8 ++++++-- 1 file changed, 6 insertions(+), 2 deletions(-) diff --git a/components/ContentPage.vue b/components/ContentPage.vue index 507c8d8..2885f46 100644 --- a/components/ContentPage.vue +++ b/components/ContentPage.vue @@ -49,8 +49,7 @@ export default { }, backgroundStyle () { return { - background: this.img, - opacity: .5 + backgroundImage: this.img } } }, @@ -92,4 +91,9 @@ export default { top: 0; left: 0; } + +.background-img { + background-size: cover; + opacity: .5; +}