1
0
mirror of https://github.com/gorhill/uBlock.git synced 2024-10-04 16:47:15 +02:00
This commit is contained in:
gorhill 2017-06-17 10:17:13 -04:00
parent e5ec782c1d
commit d944a59b10
No known key found for this signature in database
GPG Key ID: 25E1490B761470C2

View File

@ -2661,9 +2661,6 @@ vAPI.toolbarButton = {
tbb.populatePanel = function(doc, panel) {
panel.setAttribute('id', this.viewId);
// https://github.com/gorhill/uBlock/issues/2696
panel.style.setProperty('padding', '0');
var iframe = doc.createElement('iframe');
iframe.setAttribute('type', 'content');
@ -3111,6 +3108,9 @@ vAPI.toolbarButton = {
CustomizableUI.addListener(CUIEvents);
// https://github.com/gorhill/uBlock/issues/2696
// https://github.com/gorhill/uBlock/issues/2709
var style = [
'#' + this.id + '.off {',
'list-style-image: url(',
@ -3124,9 +3124,11 @@ vAPI.toolbarButton = {
'}',
'#' + this.viewId + ',',
'#' + this.viewId + ' > iframe {',
'width: 160px;',
'height: 290px;',
'min-width: 0 !important;',
'overflow: hidden !important;',
'padding: 0 !important;',
'width: 160px;',
'}'
];