Skip to content

Commit 4f420b3

Browse files
Fix build stamp placement on non-blog pages
1 parent bf3324b commit 4f420b3

2 files changed

Lines changed: 5 additions & 4 deletions

File tree

components/RootPageLayout.tsx

Lines changed: 5 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -46,10 +46,12 @@ export default function RootPageLayout({
4646
return (
4747
<div>
4848
<Navbar routes={pageConfigs} />
49-
<div className="absolute min-h-screen min-w-full bg-background transition duration-1000">
49+
<div className="flex min-h-screen min-w-full flex-col bg-background transition duration-1000">
5050
{children}
51-
<div className="absolute bottom-0 left-0 w-full text-xs">
52-
<BuildStamp serializedBuildInfo={serializedBuildInfo} />
51+
<div className="flex-grow flex flex-col justify-end">
52+
<footer className="mt-auto w-full text-xs">
53+
<BuildStamp serializedBuildInfo={serializedBuildInfo} />
54+
</footer>
5355
</div>
5456
</div>
5557
<Toaster />

pages/blog/[...id].tsx

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -148,7 +148,6 @@ const Page: NextPageWithLayout<GetStaticPropsResult> = ({
148148
<div className="flex flex-col gap-4 ">
149149
<Header {...post.metadata} />
150150
<div
151-
// className={`${blogBodyFont.className}`}
152151
className="typst-content"
153152
dangerouslySetInnerHTML={{ __html: post.content.body }}
154153
></div>

0 commit comments

Comments
 (0)