Skip to content

Commit

Permalink
Merge pull request #102 from ahabeb/master
Browse files Browse the repository at this point in the history
Fix background-size issue
  • Loading branch information
abuturla authored Apr 13, 2017
2 parents 5fbd615 + b8c7690 commit 0da33d3
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions widget/app.js
Original file line number Diff line number Diff line change
Expand Up @@ -184,7 +184,7 @@
element.attr("style", 'background-color:white');
}
element.css({
'background-size': 'cover'
'background-size': 'cover !important'
});
});
// img = $filter("cropImage")(value, $rootScope.deviceWidth, $rootScope.deviceHeight, true);
Expand All @@ -193,7 +193,7 @@
img = "";
element.attr("style", 'background-color:white');
element.css({
'background-size': 'cover'
'background-size': 'cover !important'
});
}
});
Expand Down

0 comments on commit 0da33d3

Please sign in to comment.