feat: fixed footer with responsive height tokens
Footer is fixed bottom-0 with h-footer (5rem mobile) / md:h-footer-wide (4rem desktop). Body gets matching pb-footer/md:pb-footer-wide to reserve space. Tokens registered in @theme inline as --spacing-footer*.
This commit is contained in:
+1
-1
@@ -14,7 +14,7 @@ export const metadata: Metadata = {
|
||||
export default function RootLayout({ children }: { children: React.ReactNode }) {
|
||||
return (
|
||||
<html lang="en">
|
||||
<body className={`${fraunces.variable} ${publicSans.variable} flex flex-col min-h-screen`}>
|
||||
<body className={`${fraunces.variable} ${publicSans.variable} pb-footer md:pb-footer-wide`}>
|
||||
{children}
|
||||
<Footer />
|
||||
</body>
|
||||
|
||||
Reference in New Issue
Block a user