mirror of
https://github.com/gorhill/uBlock.git
synced 2024-11-10 09:07:54 +01:00
fix #2696
This commit is contained in:
parent
2fdf4cb19d
commit
e611879c30
1 changed files with 3 additions and 0 deletions
|
@ -2661,6 +2661,9 @@ vAPI.toolbarButton = {
|
||||||
tbb.populatePanel = function(doc, panel) {
|
tbb.populatePanel = function(doc, panel) {
|
||||||
panel.setAttribute('id', this.viewId);
|
panel.setAttribute('id', this.viewId);
|
||||||
|
|
||||||
|
// https://github.com/gorhill/uBlock/issues/2696
|
||||||
|
panel.style.setProperty('padding', '0');
|
||||||
|
|
||||||
var iframe = doc.createElement('iframe');
|
var iframe = doc.createElement('iframe');
|
||||||
iframe.setAttribute('type', 'content');
|
iframe.setAttribute('type', 'content');
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue