From 69d4a0aa0ac8fd87412292894e2b5948a5861907 Mon Sep 17 00:00:00 2001 From: gorhill Date: Fri, 25 Sep 2015 08:29:52 -0400 Subject: [PATCH] attempt at fixing #362 --- platform/firefox/vapi-background.js | 5 ++++- src/css/popup.css | 1 + 2 files changed, 5 insertions(+), 1 deletion(-) diff --git a/platform/firefox/vapi-background.js b/platform/firefox/vapi-background.js index a74fd2380..bf531c050 100644 --- a/platform/firefox/vapi-background.js +++ b/platform/firefox/vapi-background.js @@ -2131,9 +2131,12 @@ vAPI.toolbarButton = { resizeTimer = null; var body = iframe.contentDocument.body; panel.parentNode.style.maxWidth = 'none'; + + // https://github.com/gorhill/uMatrix/issues/362 + panel.parentNode.style.opacity = '1'; + // https://github.com/chrisaljoudi/uBlock/issues/730 // Voodoo programming: this recipe works - var clientHeight = body.clientHeight; iframe.style.height = toPx(clientHeight); panel.style.height = toPx(clientHeight + panel.boxObject.height - panel.clientHeight); diff --git a/src/css/popup.css b/src/css/popup.css index 50b0f0e18..cef59344f 100644 --- a/src/css/popup.css +++ b/src/css/popup.css @@ -3,6 +3,7 @@ body { border: 0; float: left; margin: 0; + opacity: 1; overflow: hidden; padding: 0; white-space: nowrap;