design: base layout 컴포넌트 수정

This commit is contained in:
2025-02-28 10:23:52 +09:00
parent ccb3fcc781
commit 285bdf8f4d
2 changed files with 4 additions and 2 deletions
@@ -11,7 +11,9 @@ export function BaseLayout({ children }: { children: React.ReactNode }) {
<div className="flex h-[calc(100vh-50px)]"> <div className="flex h-[calc(100vh-50px)]">
<LNB /> <LNB />
<div className="flex flex-1 flex-col"> <div className="flex flex-1 flex-col">
<div className="flex-1">{children}</div> <div className="max-h-[calc(100%-50px)] flex-1 overflow-auto">
{children}
</div>
<Footer /> <Footer />
</div> </div>
</div> </div>
@@ -1,6 +1,6 @@
export function Footer() { export function Footer() {
return ( return (
<footer className="flex h-[5rem] w-full items-center border-t border-solid border-border p-4"> <footer className="flex h-[5rem] w-full shrink-0 items-center border-t border-solid border-border p-4">
<p>© 2025 Ona And All. All Rights Reserved.</p> <p>© 2025 Ona And All. All Rights Reserved.</p>
</footer> </footer>
); );