From 8f6b485a25c290d1471478081cdf4501cab0b506 Mon Sep 17 00:00:00 2001 From: Martijn Cuppens Date: Wed, 13 Nov 2019 08:49:58 +0100 Subject: [PATCH] Add `background-image` property The property was missing --- components/tools/gradient/editor.vue | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/components/tools/gradient/editor.vue b/components/tools/gradient/editor.vue index 5acda17..44d1727 100644 --- a/components/tools/gradient/editor.vue +++ b/components/tools/gradient/editor.vue @@ -323,12 +323,12 @@ export default { }, oldCSS: function() { return `.forNow { - ${this.gradientCalc(this.$store.state.gradient.settings.colorMode, true)} + background-image: ${this.gradientCalc(this.$store.state.gradient.settings.colorMode, true)} };` }, futureCSS: function() { return `#future { - linear-gradient( + background-image: linear-gradient( ${this.gradientDirection}, ${this.gradientColor1}, ${this.gradientFunction},