mirror of
https://github.com/appwrite/console.git
synced 2026-06-06 19:27:48 +00:00
Fix: margin onboarding when no header is present
This commit is contained in:
@@ -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) {
|
||||
|
||||
Reference in New Issue
Block a user