mirror of
https://github.com/docmost/docmost.git
synced 2026-07-25 20:55:15 +10:00
refactor(base): use --page-header-height var in standalone layout
This commit is contained in:
@@ -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>
|
||||||
|
|||||||
Reference in New Issue
Block a user