From 3ef6765659d32fc784b81762630e3154c3fd5229 Mon Sep 17 00:00:00 2001 From: Ayman Habeb Date: Sun, 23 Apr 2017 00:19:02 +0300 Subject: [PATCH] Fixed the background issue --- widget/app.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/widget/app.js b/widget/app.js index 31887fc..de9d192 100644 --- a/widget/app.js +++ b/widget/app.js @@ -107,7 +107,7 @@ }, function (err, imgUrl) { if (imgUrl) { img = imgUrl; - element.attr("style", 'background:url(' + img + ') !important'); + element.attr("style", 'background:url(' + img + ') !important;background-size:cover !important'); } else { img = ''; element.attr("style", 'background-color:white');