Skip to content

Commit

Permalink
fixed the background issue (#77)
Browse files Browse the repository at this point in the history
  • Loading branch information
aaaprocess authored and DanielHindi committed Apr 22, 2017
1 parent 926a521 commit 9ed15c1
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 @@ -89,7 +89,7 @@
height: $rootScope.deviceHeight
}, function (err, imgUrl) {
img = imgUrl;
element.attr("style", 'background:url(' + img + ') !important');
element.attr("style", 'background:url(' + img + ') !important;background-size:cover !important');
element.css({
'background-size': 'cover !important'
});
Expand Down

0 comments on commit 9ed15c1

Please sign in to comment.