Skip to content

Commit

Permalink
fixed scrolling
Browse files Browse the repository at this point in the history
  • Loading branch information
LiveDuo committed Nov 4, 2023
1 parent 8c8844f commit 7cd33b4
Showing 1 changed file with 4 additions and 1 deletion.
5 changes: 4 additions & 1 deletion lib/client/vanilla/index.jsx
Original file line number Diff line number Diff line change
Expand Up @@ -228,7 +228,10 @@ function ContentProvider() {
{!isPreview ? 'Preview' : 'Editor'}
</button>
</div>
<div className="flex justify-center bg-gray-200">
<div
className="flex justify-center bg-gray-200"
style={{ height: '100vh', overflowY: 'scroll' }}
>
<div
ref={canvasRef}
className="bg-white ease-animation"
Expand Down

0 comments on commit 7cd33b4

Please sign in to comment.