From eceb3bfa28eba3c49b1af393610ca6e59a96bba2 Mon Sep 17 00:00:00 2001 From: Silberengel Date: Mon, 10 Nov 2025 14:13:20 +0100 Subject: [PATCH] fixed imwald header overwriting page header --- src/PageManager.tsx | 12 ++++- src/layouts/SecondaryPageLayout/index.tsx | 61 +++++++++++------------ 2 files changed, 39 insertions(+), 34 deletions(-) diff --git a/src/PageManager.tsx b/src/PageManager.tsx index afd945e..a497ff5 100644 --- a/src/PageManager.tsx +++ b/src/PageManager.tsx @@ -353,6 +353,11 @@ function MainContentArea({ {primaryNoteView ? ( // Show note view with back button
+
+ + Imwald + +
-
+
{getPageTitle(primaryViewType, window.location.pathname)}
@@ -732,6 +737,11 @@ export function PageManager({ maxStackSize = 5 }: { maxStackSize?: number }) { {primaryNoteView ? ( // Show primary note view with back button on mobile
+
+ + Imwald + +
@@ -85,13 +92,20 @@ const SecondaryPageLayout = forwardRef(
{title && ( - + <> +
+ + Imwald + +
+ + )}
{children} @@ -119,8 +133,6 @@ export function SecondaryPageTitlebar({ hideBottomBorder?: boolean titlebar?: React.ReactNode }): JSX.Element { - const { isSmallScreen } = useScreenSize() - if (titlebar) { return ( @@ -136,29 +148,12 @@ export function SecondaryPageTitlebar({ {hideBackButton ? (
{title} - - Im Wald 🌲 -
) : (
{title}
)} - {isSmallScreen && ( -
- - Im Wald 🌲 - -
- )} - {!isSmallScreen && !hideBackButton && ( -
- - Im Wald 🌲 - -
- )}
{controls}
)