From a645ab947b27c96b523e09e16d68144828a52335 Mon Sep 17 00:00:00 2001 From: Philipinho <16838612+Philipinho@users.noreply.github.com> Date: Mon, 27 Apr 2026 13:52:49 +0100 Subject: [PATCH] style: introduce --page-header-height variable --- apps/client/src/features/editor/styles/core.css | 8 ++++++++ 1 file changed, 8 insertions(+) diff --git a/apps/client/src/features/editor/styles/core.css b/apps/client/src/features/editor/styles/core.css index 66a58c7c5..a3b4f4285 100644 --- a/apps/client/src/features/editor/styles/core.css +++ b/apps/client/src/features/editor/styles/core.css @@ -1,3 +1,11 @@ +:root { + /* Height of the fixed PageHeader at the top of every page. Used by + * standalone base layout (paddingTop) and by sticky bands inside + * inline base embeds (top offset). One source of truth; if the + * page header ever changes height, edit only this. */ + --page-header-height: 45px; +} + .ProseMirror { background-color: light-dark( var(--mantine-color-white),