Skip to content

Commit b35c789

Browse files
author
Dave Conway-Jones
committed
Let webcam video fill widget template
1 parent 5739ff9 commit b35c789

File tree

2 files changed

+4
-1
lines changed

2 files changed

+4
-1
lines changed

node-red-node-ui-webcam/package.json

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"name": "node-red-node-ui-webcam",
3-
"version": "0.2.1",
3+
"version": "0.2.2",
44
"description": "A Node-RED ui node to capture images from a webcam.",
55
"author": "Nick O'Leary",
66
"license": "Apache-2.0",

node-red-node-ui-webcam/ui_webcam.js

+3
Original file line numberDiff line numberDiff line change
@@ -23,6 +23,9 @@ module.exports = function(RED) {
2323
var configAsJson = JSON.stringify(config);
2424
var html = String.raw`
2525
<style>
26+
.nr-dashboard-ui_webcam {
27+
padding:0;
28+
}
2629
.ui-webcam {
2730
position: relative;
2831
}

0 commit comments

Comments
 (0)