Skip to content

Commit

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

0 comments on commit a98446c

Please sign in to comment.