From 171552370a9143210c8cd870f3993d095e1d8d76 Mon Sep 17 00:00:00 2001 From: Raymond Hill Date: Tue, 2 Jan 2018 09:36:00 -0500 Subject: [PATCH] ensure image placeholders' min width can take effect --- src/js/contentscript.js | 1 + 1 file changed, 1 insertion(+) diff --git a/src/js/contentscript.js b/src/js/contentscript.js index 7d13dbd..438a47a 100644 --- a/src/js/contentscript.js +++ b/src/js/contentscript.js @@ -209,6 +209,7 @@ var collapser = (function() { continue; } target.setAttribute(src1stProps[tag], placeholders[tag]); + target.style.setProperty('display', 'inline-block'); target.style.setProperty('min-width', '20px', 'important'); target.style.setProperty('min-height', '20px', 'important'); target.style.setProperty('border', placeholders.border, 'important');