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.
2 parents 70cae56 + 43db7d9 commit 3754007Copy full SHA for 3754007
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