Skip to content

Commit

Permalink
Fix background-size issue
Browse files Browse the repository at this point in the history
  • Loading branch information
Ayman Habeb committed Apr 12, 2017
1 parent 5fbd615 commit b8c7690
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 b8c7690

Please sign in to comment.