diff --git a/src/components/AccessControlEdit.tsx b/src/components/AccessControlEdit.tsx index d62ca417..37d9db81 100644 --- a/src/components/AccessControlEdit.tsx +++ b/src/components/AccessControlEdit.tsx @@ -457,11 +457,7 @@ const AccessControlEdit = () => { }, ]} /> - +
{ { {!editDescription ? (
{ { - +
{
@@ -796,7 +795,7 @@ const NameServerGroupAdd = () => { Learn more about @@ -830,7 +829,7 @@ const NameServerGroupAdd = () => { onClick={handleFormSubmit} disabled={savedNSGroup.loading} > - Create Nameserver + Create nameserver diff --git a/src/components/NameServerGroupUpdate.tsx b/src/components/NameServerGroupUpdate.tsx index 7b3b6e16..95b25be3 100644 --- a/src/components/NameServerGroupUpdate.tsx +++ b/src/components/NameServerGroupUpdate.tsx @@ -313,117 +313,121 @@ const NameServerGroupUpdate = () => { { add, remove }: any, { errors }: any ) => ( - -
- - - {!!fields.length && ( - - - - - - - Nameserver IP - - - - Port - - - - )} - {fields.map((field, index) => { - return ( - + + +
+ + + {!!fields.length && ( + - - - + - - - - - - - - - + + + Nameserver IP + - - remove(field.name)} /> + + + Port + + - ); - })} - - - - - - - - - -
- + )} + {fields.map((field, index) => { + return ( + + + + + + + + + + + + + + + + + + remove(field.name)} /> + + + ); + })} + + + + + + + + + +
+ + ); // @ts-ignore @@ -448,24 +452,13 @@ const NameServerGroupUpdate = () => { Add domain if you want to have a specific one - {/* - - - - */} {fields.map((field, index) => { @@ -631,7 +624,7 @@ const NameServerGroupUpdate = () => { className={ "access-control input-text ant-drawer-subtitle" } - style={{ marginTop: "0" }} + style={{ margin: "0 0 39px 0px" }} onClick={() => toggleEditDescription(true)} > {formNSGroup.description && @@ -641,7 +634,7 @@ const NameServerGroupUpdate = () => {
) : ( - +
@@ -676,46 +669,8 @@ const NameServerGroupUpdate = () => { - - -
- -
- - - Disable this server if you don't want it to apply - immediately - -
-
-
- - + + { - + {renderDomains} - +