fix: mount create action bar in main content
This commit is contained in:
@@ -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" />;
|
||||
}
|
||||
|
||||
@@ -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>
|
||||
|
||||
@@ -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;
|
||||
|
||||
Reference in New Issue
Block a user