Skip to content

Commit

Permalink
Let webcam video fill widget template
Browse files Browse the repository at this point in the history
  • Loading branch information
Dave Conway-Jones committed Dec 4, 2020
1 parent 5739ff9 commit b35c789
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 1 deletion.
2 changes: 1 addition & 1 deletion node-red-node-ui-webcam/package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "node-red-node-ui-webcam",
"version": "0.2.1",
"version": "0.2.2",
"description": "A Node-RED ui node to capture images from a webcam.",
"author": "Nick O'Leary",
"license": "Apache-2.0",
Expand Down
3 changes: 3 additions & 0 deletions node-red-node-ui-webcam/ui_webcam.js
Original file line number Diff line number Diff line change
Expand Up @@ -23,6 +23,9 @@ module.exports = function(RED) {
var configAsJson = JSON.stringify(config);
var html = String.raw`
<style>
.nr-dashboard-ui_webcam {
padding:0;
}
.ui-webcam {
position: relative;
}
Expand Down

0 comments on commit b35c789

Please sign in to comment.