We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 5a2a61d commit 68d910cCopy full SHA for 68d910c
1 file changed
src/components/CodeEmbed/index.jsx
@@ -45,7 +45,7 @@ export const CodeEmbed = (props) => {
45
}
46
47
// Quick hack to make room for DOM that gets added below the canvas by default
48
- const domMatch = /create(Button|Select|P|Div|Input|ColorPicker)/.exec(initialCode);
+ const domMatch = /create(Button|Select|P|Div|Input|ColorPicker|Capture)/.exec(initialCode);
49
if (domMatch && previewHeight) {
50
previewHeight += 100;
51
0 commit comments