From 392c8e8da4dd563df8a120084473dfa113de7004 Mon Sep 17 00:00:00 2001 From: Peer Richelsen Date: Tue, 12 Oct 2021 12:39:02 +0100 Subject: [PATCH] minor layout changes to `/integrations` (#913) --- components/List.tsx | 2 +- components/Shell.tsx | 1 - pages/integrations/index.tsx | 40 +++++++++++++++++++++--------------- 3 files changed, 25 insertions(+), 18 deletions(-) diff --git a/components/List.tsx b/components/List.tsx index 996d84a0..3e53280c 100644 --- a/components/List.tsx +++ b/components/List.tsx @@ -50,7 +50,7 @@ export function ListItemTitle
- {/* TODO should be Roboto */}

{props.title}

diff --git a/pages/integrations/index.tsx b/pages/integrations/index.tsx index 75b98cdf..cf7a8969 100644 --- a/pages/integrations/index.tsx +++ b/pages/integrations/index.tsx @@ -171,7 +171,11 @@ function ConnectOrDisconnectIntegrationButton(props: { ); } if (!props.installed) { - return ; + return ( +
+ +
+ ); } return ( } /> @@ -187,11 +191,9 @@ function IntegrationListItem(props: { }) { return ( -
-
- {props.title} -
-
+
+ {props.title} +
{props.title} {props.description}
@@ -257,15 +259,17 @@ export function CalendarSwitch(props: { } ); return ( - { - mutation.mutate({ isOn }); - }} - /> +
+ { + mutation.mutate({ isOn }); + }} + /> +
); } @@ -395,7 +399,11 @@ export default function IntegrationsPage() { actions={ } + render={(btnProps) => ( + + )} /> } />