From b87b4af47c021b5e23bd387797bdeddf4f701373 Mon Sep 17 00:00:00 2001 From: Nar Cuenca <28705606+theofficialnar@users.noreply.github.com> Date: Sat, 3 Feb 2024 03:52:09 +0800 Subject: [PATCH] Create content item fields width (#2484) * task: change item create container width * task: change to mui component --- .../src/app/views/ItemCreate/ItemCreate.tsx | 57 ++++++++++--------- 1 file changed, 29 insertions(+), 28 deletions(-) diff --git a/src/apps/content-editor/src/app/views/ItemCreate/ItemCreate.tsx b/src/apps/content-editor/src/app/views/ItemCreate/ItemCreate.tsx index 30bf191cd3..89bd67bd9b 100644 --- a/src/apps/content-editor/src/app/views/ItemCreate/ItemCreate.tsx +++ b/src/apps/content-editor/src/app/views/ItemCreate/ItemCreate.tsx @@ -6,7 +6,7 @@ import isEmpty from "lodash/isEmpty"; import { createSelector } from "@reduxjs/toolkit"; import { cloneDeep } from "lodash"; -import { Divider, Box } from "@mui/material"; +import { Divider, Box, Stack } from "@mui/material"; import { WithLoader } from "@zesty-io/core/WithLoader"; import { NotFound } from "../../../../../../shell/components/NotFound"; @@ -269,19 +269,20 @@ export const ItemCreate = () => { return ( -
+
- -
+ { setFieldErrors(errors); }} /> + -
- + +

Meta Settings

+ {model && model?.type === "dataset" ? ( + + ) : ( + -

Meta Settings

- {model && model?.type === "dataset" ? ( - - ) : ( - - )} -
-
-
-
+ )} + + +