메인 컨텐츠 layout 內 세로스크롤 overflow-x-auto 제거 및 헤더 중복 제거

This commit is contained in:
LGS
2026-05-13 15:39:27 +09:00
parent 4a6cfed9bb
commit 1cc6b4b565
2 changed files with 1 additions and 3 deletions
+1 -1
View File
@@ -16,7 +16,7 @@ export default function RootLayout({
<title>물재이용 대민</title>
</head>
<body>
<div className="min-w-[1400px] overflow-x-auto">
<div className="min-w-[1400px]">
{children}
</div>
</body>
-2
View File
@@ -1,12 +1,10 @@
// app/main/layout.tsx
import "../reuse.module.css";
import TopNav from "@/components/TopNav";
import { StoreProvider } from "../store";
export default function ReuseLandingLayout({ children }: { children: React.ReactNode }) {
return (
<StoreProvider>
<TopNav />
<div className="pt-[83px]">{children}</div> {/* TopNav 높이만큼 */}
</StoreProvider>
);