This commit is contained in:
Daniil
2026-04-07 13:42:23 +03:00
parent d648678c68
commit 46f34bdcac
59 changed files with 2708 additions and 1312 deletions
@@ -1,4 +1,12 @@
.root {
display: flex;
width: 100%;
height: 100%;
height: calc(100vh - var(--header-height));
min-height: calc(100vh - var(--header-height));
overflow: hidden;
@include breakpoints.respond-to(breakpoints.$mobileMax) {
height: calc(100svh - var(--header-height));
min-height: calc(100svh - var(--header-height));
}
}
@@ -4,7 +4,7 @@ import type { IProjectWizardPageProps } from "./ProjectWizardPage.d"
import type { JSX } from "react"
import { useParams } from "next/navigation"
import { FunctionComponent } from "react"
import { FunctionComponent, useEffect } from "react"
import api from "@shared/api"
import { useBreadcrumbs } from "@shared/context/BreadcrumbsContext"
@@ -33,6 +33,14 @@ export const ProjectWizardPage: FunctionComponent<
{ label: project?.name ?? "..." },
])
useEffect(() => {
document.body.dataset.projectWizardLayout = "true"
return () => {
delete document.body.dataset.projectWizardLayout
}
}, [])
return (
<WorkspaceProvider projectId={projectId}>
<WizardProvider projectId={projectId}>