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",
flexDirection: "column",
height: "100%",
// PageHeader is position: fixed (45px tall) — without this
// padding the BaseToolbar would render under it.
paddingTop: 45,
// PageHeader is position: fixed (its height is --page-header-height,
// declared on :root in editor/styles/core.css); without this padding
// the BaseToolbar would render under it.
paddingTop: "var(--page-header-height)",
}}
>
<Helmet>