Skip to content

Commit 66219f2

Browse files
committed
Fix regression - footer wasn't sticking to bottom
1 parent 82f83d4 commit 66219f2

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

src/layouts/Layout.astro

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -32,7 +32,8 @@ const description = titleFromProps ? `${defaultTitle} - ${title}` : title;
3232
<GlobalStyle />
3333
<PWA />
3434
</head>
35-
<body class="m-auto max-w-prose px-2 md:px-0 [min-height:100svh]">
35+
<!-- "flex flex-col" are to footer to "stick" to the bottom -->
36+
<body class="m-auto max-w-prose px-2 md:px-0 [min-height:100svh] flex flex-col">
3637
<Header sticky={true} />
3738
<SideNavs />
3839
<!-- apply relative so that main is on top of other fixed components like SideNavs -->

0 commit comments

Comments
 (0)