From 288422a79ce76e3cde56b3273aa7822f5b0a3917 Mon Sep 17 00:00:00 2001 From: Maja Komel Date: Wed, 10 Aug 2022 21:26:24 +0200 Subject: [PATCH] Styling changes to make sections more pronounced --- components/submit/Changes.tsx | 50 ++++++++++++++++++------------- components/submit/SubmitButton.js | 2 +- components/submit/UrlList.js | 4 +-- pages/[cc].js | 9 ++++-- 4 files changed, 38 insertions(+), 27 deletions(-) diff --git a/components/submit/Changes.tsx b/components/submit/Changes.tsx index d8e570e..128d6cb 100644 --- a/components/submit/Changes.tsx +++ b/components/submit/Changes.tsx @@ -106,27 +106,35 @@ const Changes = () => { } return ( - - {data && !error && ( - <> - - - - - {Object.keys(data.changes) - .sort((cc1, cc2) => (cc2 === 'global' ? 1 : -1)) - .map((cc) => ( - - ))} - - - - )} - + <> + Proposed Changes + + {data && !error && ( + <> + + + + + {Object.keys(data.changes) + .sort((cc1, cc2) => (cc2 === 'global' ? 1 : -1)) + .map((cc) => ( + + ))} + + + + )} + + ) } diff --git a/components/submit/SubmitButton.js b/components/submit/SubmitButton.js index bad055f..c8fb32d 100644 --- a/components/submit/SubmitButton.js +++ b/components/submit/SubmitButton.js @@ -29,7 +29,7 @@ const SubmitButton = () => { }, [mutate, notify]) return ( - + {isClean && ( diff --git a/components/submit/UrlList.js b/components/submit/UrlList.js index fd0cbb2..8aaf9b2 100644 --- a/components/submit/UrlList.js +++ b/components/submit/UrlList.js @@ -207,7 +207,7 @@ const UrlList = ({ cc }) => { {data && !error && ( <> - + { error={addFormError} /> - + Test List + Test List Editor - Test List - + Country + + + {countryCode && }