Skip to content
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
20 changes: 11 additions & 9 deletions src/components/Examples/ExamplesRenderer.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -161,22 +161,24 @@ const ExamplesRenderer = ({
</div>
<div
className={cn(
'flex flex-col gap-4 max-w-[calc(100vw-64px)]',
'flex flex-col gap-4 max-w-[calc(100vw-64px)] overflow-hidden',
isVerticalLayout && 'md:flex-row',
isLargeLayout && 'md:flex-col',
)}
>
<CodeEditor
theme="light"
editor={{
className: '',
showLineNumbers: true,
}}
/>
<div className={cn('min-w-0 overflow-hidden', isVerticalLayout && 'md:flex-1')}>
<CodeEditor
theme="light"
editor={{
className: '',
showLineNumbers: true,
}}
/>
</div>
<div
className={cn(
'flex gap-4 flex-col sm:flex-row',
isVerticalLayout && 'md:flex-col',
isVerticalLayout && 'md:flex-col md:w-[21.875rem] md:flex-shrink-0',
isLargeLayout && 'md:flex-row md:justify-center md:h-fit md:min-h-[700px] h-[400px]',
)}
>
Expand Down