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 2d1075c commit 35efd8dCopy full SHA for 35efd8d
packages/compass-collection/src/components/mock-data-generator-modal/script-screen.tsx
@@ -139,7 +139,11 @@ const ScriptScreen = ({
139
schema.
140
</Banner>
141
)}
142
- <Code copyable={scriptResult.success} language={Language.JavaScript}>
+ <Code
143
+ copyable={scriptResult.success}
144
+ language={Language.JavaScript}
145
+ style={{ maxHeight: '230px', overflowY: 'auto' }}
146
+ >
147
{scriptResult.success
148
? scriptResult.script
149
: '// Script generation failed.'}
0 commit comments