From e1f4ba06d83f63db3243cc6e9e3a9a3e668f9dfe Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Ciar=C3=A1n=20Hanrahan?= Date: Fri, 15 Oct 2021 11:01:49 +0100 Subject: [PATCH] ui updates to integrations page (#962) --- components/List.tsx | 2 +- components/Shell.tsx | 4 ++-- .../dialog/ConfirmationDialogContent.tsx | 6 ++++-- components/ui/Alert.tsx | 4 ++-- components/ui/Button.tsx | 2 +- pages/integrations/index.tsx | 19 +++++++++++++------ 6 files changed, 23 insertions(+), 14 deletions(-) diff --git a/components/List.tsx b/components/List.tsx index 13f51451..0d7ae7a0 100644 --- a/components/List.tsx +++ b/components/List.tsx @@ -50,7 +50,7 @@ export function ListItemTitle
-

+

{props.title}

{props.subtitle &&

{props.subtitle}

} @@ -244,7 +244,7 @@ export default function Shell(props: {
-
+

{props.heading}

diff --git a/components/dialog/ConfirmationDialogContent.tsx b/components/dialog/ConfirmationDialogContent.tsx index cdce27d8..ec1097c5 100644 --- a/components/dialog/ConfirmationDialogContent.tsx +++ b/components/dialog/ConfirmationDialogContent.tsx @@ -53,10 +53,12 @@ export default function ConfirmationDialogContent(props: PropsWithChildren {title} - {children} + + {children} +
-
+
diff --git a/components/ui/Alert.tsx b/components/ui/Alert.tsx index ef682c4c..b38fa48e 100644 --- a/components/ui/Alert.tsx +++ b/components/ui/Alert.tsx @@ -15,10 +15,10 @@ export function Alert(props: AlertProps) { return (
diff --git a/components/ui/Button.tsx b/components/ui/Button.tsx index a5677bbc..570278c6 100644 --- a/components/ui/Button.tsx +++ b/components/ui/Button.tsx @@ -75,7 +75,7 @@ export const Button = forwardRef { mutation.mutate(); @@ -169,7 +169,7 @@ function ConnectOrDisconnectIntegrationButton(props: { } if (!props.installed) { return ( -
+
); @@ -183,7 +183,14 @@ function ConnectOrDisconnectIntegrationButton(props: { ); } return ( - } /> + ( + + )} + /> ); } @@ -196,7 +203,7 @@ function IntegrationListItem(props: { }) { return ( -
+
{props.title}
{props.title} @@ -307,7 +314,7 @@ export default function IntegrationsPage() { } @@ -323,7 +330,7 @@ export default function IntegrationsPage() {