From f9c4d320c4799892d1bbceb77e53b3bc0e34abc9 Mon Sep 17 00:00:00 2001 From: Samuel Rowe Date: Sun, 31 Jul 2022 13:22:53 +0530 Subject: [PATCH] feat(frontend): moved ports records below container name field in service modal --- .../src/components/Modal/service/General.tsx | 48 ++++++++++--------- 1 file changed, 25 insertions(+), 23 deletions(-) diff --git a/services/frontend/src/components/Modal/service/General.tsx b/services/frontend/src/components/Modal/service/General.tsx index 51d86f8..5b10f15 100644 --- a/services/frontend/src/components/Modal/service/General.tsx +++ b/services/frontend/src/components/Modal/service/General.tsx @@ -8,7 +8,7 @@ const Root = styled("div")` row-gap: ${({ theme }) => theme.spacing(1)}; `; -const ImageNameGroup = styled("div")` +const Group = styled("div")` display: flex; flex-direction: row; @media (max-width: 640px) { @@ -22,31 +22,13 @@ const General = () => { return ( - + + - - + - [ - { - name: `labels[${index}].key`, - placeholder: "Key", - required: true, - type: "text" - }, - { - name: `labels[${index}].value`, - placeholder: "Value", - required: true, - type: "text" - } - ]} - newValue={{ key: "", value: "" }} - /> + { }} /> + [ + { + name: `labels[${index}].key`, + placeholder: "Key", + required: true, + type: "text" + }, + { + name: `labels[${index}].value`, + placeholder: "Value", + required: true, + type: "text" + } + ]} + newValue={{ key: "", value: "" }} + /> +