From bb074ee36e184973ca2930d0b5b1817e7e54407f Mon Sep 17 00:00:00 2001 From: Shekar Siri Date: Mon, 8 Aug 2022 12:58:47 +0200 Subject: [PATCH] change(ui) - loader margin --- .../components/Client/Integrations/Integrations.tsx | 2 +- .../SlackChannelList/SlackChannelList.js | 6 +++++- .../app/components/Client/Integrations/SlackForm.tsx | 12 ++++++------ 3 files changed, 12 insertions(+), 8 deletions(-) diff --git a/frontend/app/components/Client/Integrations/Integrations.tsx b/frontend/app/components/Client/Integrations/Integrations.tsx index 92c050ea0..33d0520d4 100644 --- a/frontend/app/components/Client/Integrations/Integrations.tsx +++ b/frontend/app/components/Client/Integrations/Integrations.tsx @@ -80,7 +80,7 @@ function Integrations(props: Props) {

{cat.title}

{cat.isProject && (
-
+
{loading && cat.isProject && } diff --git a/frontend/app/components/Client/Integrations/SlackChannelList/SlackChannelList.js b/frontend/app/components/Client/Integrations/SlackChannelList/SlackChannelList.js index 07f1aa123..8d25b4454 100644 --- a/frontend/app/components/Client/Integrations/SlackChannelList/SlackChannelList.js +++ b/frontend/app/components/Client/Integrations/SlackChannelList/SlackChannelList.js @@ -27,7 +27,11 @@ function SlackChannelList(props) { show={list.size === 0} > {list.map((c) => ( -
onEdit(c)}> +
onEdit(c)} + >
{c.name}
{c.endpoint}
diff --git a/frontend/app/components/Client/Integrations/SlackForm.tsx b/frontend/app/components/Client/Integrations/SlackForm.tsx index 207f9b765..e04c02de6 100644 --- a/frontend/app/components/Client/Integrations/SlackForm.tsx +++ b/frontend/app/components/Client/Integrations/SlackForm.tsx @@ -24,16 +24,16 @@ const SlackForm = (props: Props) => { }, []); return ( -
-
-

Slack

- -
+
{active && ( -
+
setActive(false)} />
)} +
+

Slack

+ +
); };