Skip to content

Commit 925d3f6

Browse files
committed
Refactor layout in SiteLayout component to enhance structure and responsiveness. Updated child container to use flex properties for better alignment and overflow handling.
1 parent 687bc83 commit 925d3f6

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

client/src/app/[site]/layout.tsx

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -55,10 +55,10 @@ export default function SiteLayout({ children }: { children: React.ReactNode })
5555
<Sidebar />
5656
</div>
5757
<div className="flex-1 overflow-auto">
58-
<div>
58+
<div className="min-h-full flex flex-col">
5959
{/* <div className="px-4 py-2 max-w-[1400px] mx-auto w-full mb-4"> */}
6060
<Header />
61-
<div>{children}</div>
61+
<div className="flex-1">{children}</div>
6262
{!pathname.includes("/map") &&
6363
!pathname.includes("/realtime") &&
6464
!pathname.includes("/replay") &&

0 commit comments

Comments
 (0)