Skip to content
Permalink
Browse files

Fix border-radius on html nodes

  • Loading branch information...
Klervix committed Jul 24, 2019
1 parent 100d88b commit 4075b7beb0eeb4b3610ef002203fe93ea674fd51
Showing with 2 additions and 2 deletions.
  1. +1 −1 node-red-contrib-help/node-html.html
  2. +1 −1 node-red-contrib-help/package.json
@@ -97,7 +97,7 @@
$rect.on("touchend", function(){ setTimeout(function(){ repaint($node) },1)})
}
$shim.attr('width', w).attr('height', h)
.html('<div class="node-shim-html" style="height:'+h+'px; width:'+(w+21)+'px; overflow: auto;"><div style="overflow: hidden; min-height:'+(h-8)+'px; width:'+(w-8)+'px; padding: 4px; border-radius: 5px; background: '+nodeRED.background+'; line-height: normal">'+nodeRED.content+'</div></div>')
.html('<div class="node-shim-html" style="height:'+h+'px; width:'+(w+21)+'px; overflow: auto;"><div style="overflow: hidden; min-height:'+(h-8)+'px; width:'+(w-8)+'px; padding: 4px; border-radius: 15px; background: '+nodeRED.background+'; line-height: normal">'+nodeRED.content+'</div></div>')
}
</Script>

@@ -1,6 +1,6 @@
{
"name" : "node-red-contrib-viseo-help",
"version" : "0.2.0",
"version" : "0.2.1",
"description" : "VISEO Bot Maker - Node red helper",
"dependencies" : {
"node-red-viseo-helper" : "~0.3.0",

0 comments on commit 4075b7b

Please sign in to comment.
You can’t perform that action at this time.