fix: mount create action bar in main content

This commit is contained in:
a.tolmachev
2026-03-26 23:59:21 +03:00
parent 9c6aafe940
commit 1506ab9dfc
3 changed files with 2 additions and 12 deletions
+1 -6
View File
@@ -1,10 +1,5 @@
import { OperationForm } from "../../features/operation-form/operation-form";
export function OperationCreatePage() {
return (
<div className="create-page-layout">
<OperationForm actionBarContainerId="operation-create-action-bar" />
<div className="sticky-action-bar-slot" id="operation-create-action-bar" />
</div>
);
return <OperationForm actionBarContainerId="app-main-content" />;
}
+1 -1
View File
@@ -121,7 +121,7 @@ export function AppShell({ children }: AppShellProps) {
</div>
</header>
<main className="main-content">
<main className="main-content" id="app-main-content">
<div className="page-header">
<h1>{meta.heading}</h1>
<p>{meta.subtitle}</p>
-5
View File
@@ -398,7 +398,6 @@ button {
.page-stack,
.stack-layout,
.builder-stack,
.create-page-layout,
.service-grid,
.service-method-list {
display: grid;
@@ -893,10 +892,6 @@ button {
font-size: 12.5px;
}
.sticky-action-bar-slot {
width: 100%;
}
.field-error {
color: #a1422c;
font-size: 12px;