Created
September 10, 2018 16:16
-
-
Save eimfach/6434e6cee1ab8e24c23cb7a1caa1fd34 to your computer and use it in GitHub Desktop.
Revisions
-
eimfach created this gist
Sep 10, 2018 .There are no files selected for viewing
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters. Learn more about bidirectional Unicode charactersOriginal file line number Diff line number Diff line change @@ -0,0 +1,7 @@ (function(){ var iframes = document.getElementsByTagName('iframe'); for(var i = 0; i < iframes.length; i++) {iframes[i].width = "auto"; } var content="@media print { img {max-width: 640px !important;} iframe { width: auto; display: block; } .section-inner.sectionLayout--insetColumn { max-width: 1024px !important; padding: padding: 0px 0px !important; } }"; var style = document.createElement('style'); style.appendChild(document.createTextNode(content)); document.getElementsByTagName('head')[0].appendChild(style); })();