Skip to content

Commit b7083bc

Browse files
committed
Enlarge the "nothing found" popup message.
1 parent b929914 commit b7083bc

File tree

2 files changed

+3
-2
lines changed

2 files changed

+3
-2
lines changed

src/js/popup.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -287,7 +287,7 @@ function refreshPopup(tabId) {
287287
//TODO this is calling get action and then being used to call get Action
288288
var origins = badger.getAllOriginsForTab(tabId);
289289
if (!origins || origins.length === 0) {
290-
$("#blockedResources").html(i18n.getMessage("popup_blocked"));
290+
$("#blockedResources").html('<h2 id="nothing-found">' + i18n.getMessage("popup_blocked") + '</h2>');
291291
$('#number_trackers').text('0');
292292
return;
293293
}

src/skin/popup.css

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -160,7 +160,8 @@ left: 0;
160160
color: #505050;
161161
font-size: 16px;
162162
}
163-
#privacyBadgerHeader h2{
163+
164+
#privacyBadgerHeader h2, h2#nothing-found {
164165
margin: 5px;
165166
padding-left: 5px;
166167
float: left;

0 commit comments

Comments
 (0)