From 80aaaf9ad8baa3a243576560d24939c3ae70210f Mon Sep 17 00:00:00 2001 From: Sam Becker Date: Wed, 11 Oct 2023 13:06:45 -0500 Subject: [PATCH] Refactor checklist width tree --- src/components/ChecklistRow.tsx | 2 +- src/components/InfoBlock.tsx | 2 +- src/site/SiteChecklistClient.tsx | 33 ++++++++++++++++++-------------- 3 files changed, 21 insertions(+), 16 deletions(-) diff --git a/src/components/ChecklistRow.tsx b/src/components/ChecklistRow.tsx index e0748fdb..b6dc2886 100644 --- a/src/components/ChecklistRow.tsx +++ b/src/components/ChecklistRow.tsx @@ -25,7 +25,7 @@ export default function ChecklistRow({ type={status ? 'checked' : optional ? 'optional' : 'missing'} loading={isPending} /> -
+
diff --git a/src/components/InfoBlock.tsx b/src/components/InfoBlock.tsx index cad3c539..8fc31593 100644 --- a/src/components/InfoBlock.tsx +++ b/src/components/InfoBlock.tsx @@ -28,7 +28,7 @@ export default function InfoBlock({ className, )}>
diff --git a/src/site/SiteChecklistClient.tsx b/src/site/SiteChecklistClient.tsx index a001d164..1ce792d4 100644 --- a/src/site/SiteChecklistClient.tsx +++ b/src/site/SiteChecklistClient.tsx @@ -113,7 +113,7 @@ export default function SiteChecklistClient({
; return ( -
+
} @@ -153,20 +153,25 @@ export default function SiteChecklistClient({ isPending={isPendingPage} > Store auth secret in environment variable: - -
- {secret} -
- {renderCopyButton('Secret', secret)} - } - onClick={refreshSecret} - isLoading={isPendingSecret} - spinnerColor="text" - /> +
+ +
+ {secret} +
+ {renderCopyButton('Secret', secret)} + } + onClick={refreshSecret} + isLoading={isPendingSecret} + spinnerColor="text" + /> +
-
- + +
{renderEnvVars(['AUTH_SECRET'])}