Skip to content

Open-source status page, incident response and uptime monitoring

fix: minor onboarding layout issues (#2426)

Maximilian Kaskea2945651592e
diff --git a/apps/dashboard/src/app/onboarding/_steps/step-1.tsx b/apps/dashboard/src/app/onboarding/_steps/step-1.tsx
index 1c6cd4ad7..3cf65096d 100644
--- a/apps/dashboard/src/app/onboarding/_steps/step-1.tsx
+++ b/apps/dashboard/src/app/onboarding/_steps/step-1.tsx
@@ -167,6 +167,7 @@ function ChecksPreviewPlaceholder(
isStreaming={false}
allFailed={false}
onRetry={() => {}}
+ className="rounded-none border-0"
/>
</OnboardingPreviewPlaceholderContent>
<OnboardingPreviewPlaceholderOverlay>
diff --git a/apps/dashboard/src/app/onboarding/_steps/step-3.tsx b/apps/dashboard/src/app/onboarding/_steps/step-3.tsx
index 451c199bc..b6c43637e 100644
--- a/apps/dashboard/src/app/onboarding/_steps/step-3.tsx
+++ b/apps/dashboard/src/app/onboarding/_steps/step-3.tsx
@@ -156,7 +156,7 @@ function NoClickopsCard() {
const hasKeys = (apiKeys?.length ?? 0) > 0;
return (
- <FormCard>
+ <FormCard className="shrink-0">
<FormCardHeader>
<FormCardTitle>Agent-first, no clickops</FormCardTitle>
<FormCardDescription>
@@ -188,8 +188,8 @@ function NoClickopsCard() {
.
</FormCardDescription>
</FormCardHeader>
- <FormCardContent>
- <Code>{TERRAFORM_SNIPPET}</Code>
+ <FormCardContent className="flex-1">
+ <Code className="h-full">{TERRAFORM_SNIPPET}</Code>
</FormCardContent>
<FormCardFooter>
<FormCardFooterInfo>
diff --git a/apps/dashboard/src/components/layout/onboarding-layout.tsx b/apps/dashboard/src/components/layout/onboarding-layout.tsx
index 0e68ba106..634b175a9 100644
--- a/apps/dashboard/src/components/layout/onboarding-layout.tsx
+++ b/apps/dashboard/src/components/layout/onboarding-layout.tsx
@@ -118,7 +118,7 @@ export function OnboardingFormColumn({
return (
<section
className={cn(
- "col-span-1 flex w-full flex-col gap-6 px-4 py-8 md:min-h-0 md:overflow-y-auto md:px-8 md:py-32",
+ "col-span-1 flex w-full flex-col gap-6 px-4 py-8 md:min-h-0 md:overflow-y-auto md:px-8 md:py-16",
SHELL_FORM_COLUMN,
className,
)}