Skip to content

Commit

Permalink
tweak padding on ui_table
Browse files Browse the repository at this point in the history
  • Loading branch information
Dave Conway-Jones committed Nov 30, 2020
1 parent ab6a11d commit f8eacc6
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 4 deletions.
4 changes: 1 addition & 3 deletions node-red-node-ui-iframe/ui_iframe.js
Original file line number Diff line number Diff line change
Expand Up @@ -23,9 +23,7 @@ module.exports = function(RED) {
var allow = "autoplay";
var origin = config.origin ? config.origin : "*";
var html = String.raw`
<style>
.nr-dashboard-ui_iframe { padding:0 !important; }
</style>
<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">
Failed to load Web page
Expand Down
1 change: 1 addition & 0 deletions node-red-node-ui-table/node.js
Original file line number Diff line number Diff line change
Expand Up @@ -62,6 +62,7 @@ module.exports = function (RED) {
var configAsJson = JSON.stringify(config);
var mid = (dark) ? "_midnight" : "";
var html = String.raw`
<style>.nr-dashboard-ui_table { padding:0; }</style>
<link href='ui-table/css/tabulator`+mid+`.min.css' rel='stylesheet' type='text/css'>
<script type='text/javascript' src='ui-table/js/tabulator.js'></script>
<div id='ui_table-{{$id}}' style="background-color:unset; border:unset;"></div>
Expand Down
2 changes: 1 addition & 1 deletion node-red-node-ui-table/package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "node-red-node-ui-table",
"version": "0.3.8",
"version": "0.3.9",
"description": "Table UI widget node for Node-RED Dashboard",
"author": "Kazuhito Yokoi",
"contributors": ["Dave Conway-Jones","@hotNipi","@Christian-Me"],
Expand Down

0 comments on commit f8eacc6

Please sign in to comment.