Skip to content

Commit

Permalink
Added scroll
Browse files Browse the repository at this point in the history
  • Loading branch information
kevinmonisit committed Jan 7, 2025
1 parent 076f88e commit ea86c7e
Showing 1 changed file with 3 additions and 4 deletions.
7 changes: 3 additions & 4 deletions app/(pages)/dashboard/page.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -117,10 +117,9 @@ const Page: React.FC = () => {
onDragEnd={handleDragEnd}
onDragCancel={handleDragCancel}
>
<h1>Dashboard Page Test</h1>
<div className="w-full h-screen flex flex-row relative">
{/* Left Panel */}
<div style={{ width: leftWidth, minWidth: 200 }} className="flex-shrink-0 h-full overflow-hidden">
<div style={{ width: leftWidth, minWidth: 200 }} className="flex-shrink-0 h-full overflow-y-scroll transition-[overflow] duration-300">
<LeftPanel />
</div>

Expand All @@ -133,7 +132,7 @@ const Page: React.FC = () => {
</div>

{/* Middle Panel */}
<div className="flex-grow h-full overflow-hidden">
<div className="flex-grow h-full overflow-y-scroll transition-[overflow] duration-300">
<MiddlePanel />
</div>

Expand All @@ -146,7 +145,7 @@ const Page: React.FC = () => {
</div>

{/* Right Panel */}
<div style={{ width: rightWidth, minWidth: 250 }} className="flex-shrink-0 h-full overflow-hidden">
<div style={{ width: rightWidth, minWidth: 250 }} className="flex-shrink-0 h-full overflow-y-scroll transition-[overflow] duration-300">
<RightPanel />
</div>
</div>
Expand Down

0 comments on commit ea86c7e

Please sign in to comment.