Skip to content

Commit

Permalink
Enlarge the "nothing found" popup message.
Browse files Browse the repository at this point in the history
  • Loading branch information
ghostwords committed Aug 21, 2017
1 parent b929914 commit d77686c
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 2 deletions.
2 changes: 1 addition & 1 deletion src/js/popup.js
Original file line number Diff line number Diff line change
Expand Up @@ -287,7 +287,7 @@ function refreshPopup(tabId) {
//TODO this is calling get action and then being used to call get Action
var origins = badger.getAllOriginsForTab(tabId);
if (!origins || origins.length === 0) {
$("#blockedResources").html(i18n.getMessage("popup_blocked"));
$("#blockedResources").html('<h2 id="nothing-found">' + i18n.getMessage("popup_blocked") + '</h2>');
$('#number_trackers').text('0');
return;
}
Expand Down
3 changes: 2 additions & 1 deletion src/skin/popup.css
Original file line number Diff line number Diff line change
Expand Up @@ -160,7 +160,8 @@ left: 0;
color: #505050;
font-size: 16px;
}
#privacyBadgerHeader h2{

#privacyBadgerHeader h2, h2#nothing-found {
margin: 5px;
padding-left: 5px;
float: left;
Expand Down

0 comments on commit d77686c

Please sign in to comment.