Skip to content

Commit 0c5dcfa

Browse files
committed
Fix notification icon resize by external CSS
1 parent 71373d5 commit 0c5dcfa

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

content.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -35,7 +35,7 @@ new function() {
3535
icon = document.createElement('img');
3636
icon.src = chrome.extension.getURL('img/error_38.png');
3737
icon.title = 'Some errors occurred on this page. Click to see details.';
38-
icon.style.cssText = 'position: fixed !important; bottom: 10px !important; right: 10px !important; cursor: pointer !important; z-index: 2147483647 !important; width: 38px !important; height: 38px !important;';
38+
icon.style.cssText = 'position: fixed !important; bottom: 10px !important; right: 10px !important; cursor: pointer !important; z-index: 2147483647 !important; width: 38px !important; height: 38px !important; min-height: 38px !important; min-width: 38px !important; max-height: 38px !important; max-width: 38px !important;';
3939
icon.onclick = function() {
4040
if(!popup) {
4141
showPopup(popupUrl);

0 commit comments

Comments
 (0)