Skip to content

Commit

Permalink
fix: makes footer at bottom if content size < screen size
Browse files Browse the repository at this point in the history
  • Loading branch information
ixahmedxi committed Jun 6, 2024
1 parent 87f08b7 commit f5aa956
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions src/app/(marketing)/layout.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -12,11 +12,11 @@ import { Footer } from './_components/footer';
*/
export default function RootLayout({ children }: PropsWithChildren) {
return (
<main>
<div className="flex min-h-dvh flex-col">
<div className="absolute left-0 top-0 z-[-1] h-56 w-full bg-gradient-to-b from-indigo-subtle to-background" />
<Navbar />
<div className="container">{children}</div>
<div className="container flex-1">{children}</div>
<Footer />
</main>
</div>
);
}

0 comments on commit f5aa956

Please sign in to comment.