scroll to the correct position regardless of the position or height of the header

This commit is contained in:
Athou
2024-01-18 08:52:06 +01:00
parent 5f29838bd2
commit 99db85328b
3 changed files with 9 additions and 4 deletions

View File

@@ -133,7 +133,7 @@ export default function Layout(props: LayoutProps) {
}}
padding={{ base: 6, [Constants.layout.mobileBreakpointName]: "md" }}
>
<AppShell.Header id="header">
<AppShell.Header id={Constants.dom.headerId}>
<OnMobile>
{mobileMenuOpen && (
<Group justify="space-between" p="md">