Rietveld Code Review Tool
Help | Bug tracker | Discussion group | Source code

Unified Diff: composer.postload.js

Issue 29365526: Issue 4603 - Prevent element hiding filters hiding composer overlays (Closed)
Patch Set: Created Nov. 28, 2016, 1:39 p.m.
Use n/p to move between diff chunks; N/P to move between comments.
Jump to:
View side-by-side diff with in-line comments
Download patch
« no previous file with comments | « no previous file | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: composer.postload.js
diff --git a/composer.postload.js b/composer.postload.js
index f5a798420729433944344469cf183ebddba173a5..98fef095aa636d2c8753329fc41d64234e6f839e 100644
--- a/composer.postload.js
+++ b/composer.postload.js
@@ -146,8 +146,9 @@ function addElementOverlay(element)
let overlay = document.createElement("div");
overlay.prisoner = element;
overlay.className = "__adblockplus__overlay";
- overlay.setAttribute("style", "opacity:0.4; display:inline-box; " +
- "overflow:hidden; box-sizing:border-box;");
+ overlay.setAttribute("style",
+ "opacity:0.4; display:inline-block !important; " +
+ "overflow:hidden; box-sizing:border-box;");
let rect = element.getBoundingClientRect();
overlay.style.width = rect.width + "px";
overlay.style.height = rect.height + "px";
« no previous file with comments | « no previous file | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld