Skip to content

Commit

Permalink
feat: Add a max height on component examples
Browse files Browse the repository at this point in the history
  • Loading branch information
jerelmiller committed Jun 16, 2020
1 parent 555cddc commit 0aa2bb0
Showing 1 changed file with 7 additions and 1 deletion.
8 changes: 7 additions & 1 deletion src/components/ReferenceExample.js
Original file line number Diff line number Diff line change
Expand Up @@ -66,7 +66,13 @@ const ReferenceExample = ({
useToastManager={useToastManager}
/>
)}
<LiveEditor style={{ fontSize: '0.75rem' }} />
<LiveEditor
style={{
fontSize: '0.75rem',
maxHeight: '30rem',
overflow: 'auto',
}}
/>
{live && <LiveError className={styles.error} />}
</LiveProvider>
</div>
Expand Down

0 comments on commit 0aa2bb0

Please sign in to comment.