Skip to content

Commit

Permalink
Fix editor overflow
Browse files Browse the repository at this point in the history
  • Loading branch information
chompaa committed May 28, 2024
1 parent c02f944 commit cc65d07
Showing 1 changed file with 5 additions and 3 deletions.
8 changes: 5 additions & 3 deletions playground/src/App.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -22,8 +22,8 @@ const App = () => {
};

return (
<main className="h-screen flex flex-row bg-white overflow-hidden">
<section className="w-full relative border-r-2 border-gray-100">
<main className="h-screen flex flex-row bg-white">
<section className="w-full relative border-r-2 border-gray-100 flex flex-col">
<div className=" h-12 bg-gray-50 flex flex-row text-gray-500 items-center gap-2">
<button
className="bg-gray-100 border-gray-500 hover:bg-gray-500 hover:text-gray-100 border-2 px-2 m-1"
Expand All @@ -32,7 +32,9 @@ const App = () => {
run
</button>
</div>
<Editor editorRef={editorRef} />
<div className="flex flex-1">
<Editor editorRef={editorRef} />
</div>
</section>
<section className="w-full relative bg-white border-l-2 border-gray-100">
<div className="flex items-center bg-gray-50 text-gray-500 pl-1 h-12">
Expand Down

0 comments on commit cc65d07

Please sign in to comment.