Skip to content

Commit 277f261

Browse files
committed
body flex column, grow main section to push footer to bottom
1 parent 3ad8473 commit 277f261

1 file changed

Lines changed: 2 additions & 2 deletions

File tree

src/layouts/BaseLayout.astro

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -14,9 +14,9 @@ const finalTitle = title ? `${title} | ${SITE_TITLE}` : `${SITE_TITLE}`;
1414
<head>
1515
<BaseHead title={finalTitle} description={description} image={image} />
1616
</head>
17-
<body class="bg-neutral-200 dark:bg-neutral-950 dark:text-neutral-300">
17+
<body class="flex min-h-screen flex-col bg-neutral-200 dark:bg-neutral-950 dark:text-neutral-300">
1818
<Header />
19-
<section class="bg-neutral-100 dark:bg-neutral-900">
19+
<section class="grow bg-neutral-100 dark:bg-neutral-900">
2020
<div class="py-12">
2121
<div class="container">
2222
<slot />

0 commit comments

Comments
 (0)