refactor(base): use --page-header-height var in standalone layout

This commit is contained in:
Philipinho
2026-04-27 13:56:24 +01:00
parent a645ab947b
commit 3ad666adad
+4 -3
View File
@@ -100,9 +100,10 @@ function PageContent({ pageSlug }: { pageSlug: string | undefined }) {
display: "flex", display: "flex",
flexDirection: "column", flexDirection: "column",
height: "100%", height: "100%",
// PageHeader is position: fixed (45px tall) — without this // PageHeader is position: fixed (its height is --page-header-height,
// padding the BaseToolbar would render under it. // declared on :root in editor/styles/core.css); without this padding
paddingTop: 45, // the BaseToolbar would render under it.
paddingTop: "var(--page-header-height)",
}} }}
> >
<Helmet> <Helmet>