Skip to content

Commit 5a6fb3c

Browse files
committed
fix(ui): prevent overflow in ProjectDetail layout
1 parent 76c91d6 commit 5a6fb3c

File tree

1 file changed

+4
-2
lines changed

1 file changed

+4
-2
lines changed

frontend/src/pages/ProjectDetail.tsx

Lines changed: 4 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -77,8 +77,9 @@ export default function ProjectDetailPage() {
7777
};
7878

7979
return (
80-
<div className="w-full">
81-
<div className="mx-auto w-full max-w-4xl px-6 py-8">
80+
<div className="flex-1 flex flex-col min-h-0">
81+
<div className="flex-1 overflow-y-auto">
82+
<div className="mx-auto w-full max-w-4xl px-6 py-8">
8283
<button
8384
type="button"
8485
onClick={() => navigate("/projects")}
@@ -150,6 +151,7 @@ export default function ProjectDetailPage() {
150151
</div>
151152
)}
152153
</div>
154+
</div>
153155
</div>
154156
</div>
155157
);

0 commit comments

Comments
 (0)