Skip to content

Commit

Permalink
stop tiny scroll on firefox
Browse files Browse the repository at this point in the history
  • Loading branch information
Dave Conway-Jones committed Dec 19, 2020
1 parent 2257e1c commit 8913b58
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion node-red-node-ui-iframe/package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "node-red-node-ui-iframe",
"version": "0.1.1",
"version": "0.1.2",
"description": "Node-RED UI widget node for embedding web page",
"author": "Hiroyasu Nishiyama",
"contributors": [
Expand Down
2 changes: 1 addition & 1 deletion node-red-node-ui-iframe/ui_iframe.js
Original file line number Diff line number Diff line change
Expand Up @@ -25,7 +25,7 @@ module.exports = function(RED) {
var html = String.raw`
<style>.nr-dashboard-ui_iframe { padding:0; }</style>
<div style="width:100%; height:100%; display:inline-block;">
<iframe id="${id}" src="${url}" allow="${allow}" style="width:100%; height:100%; overflow:hidden; border:0">
<iframe id="${id}" src="${url}" allow="${allow}" style="width:100%; height:100%; overflow:hidden; border:0; display:block">
Failed to load Web page
</iframe>
</div>
Expand Down

0 comments on commit 8913b58

Please sign in to comment.