Skip to content

Commit

Permalink
Merge pull request #46 from ahabeb/master
Browse files Browse the repository at this point in the history
fixed background issue
  • Loading branch information
DanielHindi authored Apr 20, 2017
2 parents 7dade9c + b350686 commit 01a6530
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion widget/app.js
Original file line number Diff line number Diff line change
Expand Up @@ -144,7 +144,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');
Expand Down

0 comments on commit 01a6530

Please sign in to comment.