Spaces:
Running
Running
Update static/canvas.js
Browse files- static/canvas.js +3 -2
static/canvas.js
CHANGED
@@ -343,8 +343,9 @@ function createNode(x, y, label, type, inputs = [], outputs = [], id, source = '
|
|
343 |
codeTextarea.style.height = '200px' || `${100 / scale}px`;
|
344 |
codeTextarea.style.fontFamily = 'monospace';
|
345 |
codeTextarea.style.fontSize = '12px' || `${12 / scale}px`;
|
346 |
-
codeTextarea.style.background = '
|
347 |
-
codeTextarea.style.border = '
|
|
|
348 |
codeTextarea.style.resize = 'none';
|
349 |
codeTextarea.value = source || '';
|
350 |
document.body.appendChild(codeTextarea);
|
|
|
343 |
codeTextarea.style.height = '200px' || `${100 / scale}px`;
|
344 |
codeTextarea.style.fontFamily = 'monospace';
|
345 |
codeTextarea.style.fontSize = '12px' || `${12 / scale}px`;
|
346 |
+
codeTextarea.style.background = '#ebebeb';
|
347 |
+
codeTextarea.style.border = 'solid';
|
348 |
+
codeTextarea.style.borderColor = 'grey';
|
349 |
codeTextarea.style.resize = 'none';
|
350 |
codeTextarea.value = source || '';
|
351 |
document.body.appendChild(codeTextarea);
|