You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I'm surprised more people aren't reporting this. Not only is resize a reserved javascript word, but even when I go into examples.js and change it to resizeFunc, it only removes the console error. The iframes aren't resizing after the first one (maybe two) iframes on the page. Not only that, but the html/body styles aren't being added to these iframes, either. My guess is that the idoc.close() is killing it prematurely. I've messed around with the example.js file and I can't seem to get things to work well no matter where I put things. Unfortunately, it makes mdcss unusable for me. Otherwise, it's a great little tool.
@jarodtaylor I've submit a pull request fixing that issue and don't have any problems using it again, hope it's good for you too (here it is #16)
You can just reference it as "mdcss-theme-github": "tbekaert/mdcss-theme-github#fix/reserved-word" in your package.json while @jonathantneal review it :)
The iframes are not resizable and do not scale automatically with the content. See (also) my comment at csstools/mdcss#8 (comment)
Is this a known bug?
The text was updated successfully, but these errors were encountered: