We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 70cae56 commit 43db7d9Copy full SHA for 43db7d9
src/components/CodeEmbed/index.jsx
@@ -45,7 +45,7 @@ export const CodeEmbed = (props) => {
45
const largeSketch = previewWidth && previewWidth > 770 - 60;
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)/.exec(initialCode);
+ const domMatch = /create(Button|Select|P|Div|Input|ColorPicker)/.exec(initialCode);
49
if (domMatch && previewHeight) {
50
previewHeight += 100;
51
}
0 commit comments