diff --git a/src/components/editCqlLibrary/EditCQLLibrary.scss b/src/components/editCqlLibrary/EditCQLLibrary.scss index 29b1f7d..41b010a 100644 --- a/src/components/editCqlLibrary/EditCQLLibrary.scss +++ b/src/components/editCqlLibrary/EditCQLLibrary.scss @@ -57,11 +57,11 @@ } .allotment-wrapper { - margin: 0 32px; + margin: 0; box-shadow: 0px 4px 8px rgba(0, 0, 0, 0.1); .inner-right { - margin-left: 30px; + padding: 24px 16px; } .split-view { diff --git a/src/components/editCqlLibrary/EditCqlLibrary.tsx b/src/components/editCqlLibrary/EditCqlLibrary.tsx index 6bba9d9..c243885 100644 --- a/src/components/editCqlLibrary/EditCqlLibrary.tsx +++ b/src/components/editCqlLibrary/EditCqlLibrary.tsx @@ -387,164 +387,169 @@ const EditCqlLibrary = () => { -
+
-
- +
- - * - - Indicates required field - -
-
- {activeTab === "details" && ( -
- {/* These are loaded in first instance and then removed why ? */} - {!formik.values.draft && ( + + * + + Indicates required field + +
+
+ {activeTab === "details" && ( +
+ {/* These are loaded in first instance and then removed why ? */} + {!formik.values.draft && ( +
+ + CQL Library is not a draft. Only drafts can be + edited. +

+ } + canClose={false} + /> +
+ )} + {!canEdit && ( +
+ + You are not the owner of the CQL Library. Only + owner can edit it. +

+ } + canClose={false} + /> +
+ )} +
- - CQL Library is not a draft. Only drafts can be - edited. -

+
- )} - {!canEdit && ( +
- - You are not the owner of the CQL Library. Only - owner can edit it. -

+