From 8843f8b421060b5fb1ad8d94f0cf99e77c585c1d Mon Sep 17 00:00:00 2001 From: wonderlandpark Date: Sat, 13 Mar 2021 22:29:29 +0900 Subject: [PATCH] chore: report modal changes --- components/Modal.tsx | 5 ++++- pages/bots/[id]/index.tsx | 6 ++++-- pages/users/[id].tsx | 6 ++++-- 3 files changed, 12 insertions(+), 5 deletions(-) diff --git a/components/Modal.tsx b/components/Modal.tsx index 0660ed5..4726fd8 100644 --- a/components/Modal.tsx +++ b/components/Modal.tsx @@ -14,6 +14,9 @@ const Modal = ({ children, isOpen, onClose, closeIcon=false, dark, header, full= }} showCloseIcon={closeIcon} styles={{ + closeButton: { + color: dark ? 'white' : 'black' + }, modal: { borderRadius: '10px', background: dark ? '#2C2F33' : '#fbfbfb', @@ -22,7 +25,7 @@ const Modal = ({ children, isOpen, onClose, closeIcon=false, dark, header, full= }, }} > -

{header}

+

{header}

{children}
diff --git a/pages/bots/[id]/index.tsx b/pages/bots/[id]/index.tsx index 3dca8eb..20e80d1 100644 --- a/pages/bots/[id]/index.tsx +++ b/pages/bots/[id]/index.tsx @@ -241,8 +241,10 @@ const Bots: NextPage = ({ data, date, user, theme, csrfToken, setThem