Fix: margin onboarding when no header is present

This commit is contained in:
ernstmul
2025-03-31 14:06:10 +02:00
parent f547fc364d
commit 1a8ec8bc3e
+9
View File
@@ -143,6 +143,7 @@
class:is-open={$showSubNavigation}
class:u-hide={$wizard.show || $log.show || $wizard.cover}
class:is-fixed-layout={$activeHeaderAlert?.show}
class:no-header={!showHeader}
style:--p-side-size={sideSize}>
{#if showHeader}
<Navbar {...navbarProps} bind:sideBarIsOpen={$isSidebarOpen} bind:showAccountMenu />
@@ -211,6 +212,14 @@
min-height: calc(100vh - 48px);
}
.no-header {
min-height: 100vh;
.content {
margin-block-start: 0;
}
}
:global(main:has(.sub-navigation)) {
.main-content {
@media (min-width: 1024px) {