diff --git a/frontend/src/components/Setup.tsx b/frontend/src/components/Setup.tsx index 6d877ff2..5784f750 100644 --- a/frontend/src/components/Setup.tsx +++ b/frontend/src/components/Setup.tsx @@ -93,9 +93,18 @@ export function Setup({ onComplete, className, ...props }: SetupProps & React.Co
- Console · First boot - Account ready +
+ +
+ Console · First boot + Account ready +
} > @@ -106,13 +115,6 @@ export function Setup({ onComplete, className, ...props }: SetupProps & React.Co caption="A quick check that this host can run Docker deploys. Warnings won't stop you; each one carries a fix." /> -
diff --git a/frontend/src/components/auth/AuthCanvas.test.tsx b/frontend/src/components/auth/AuthCanvas.test.tsx index e02a7b9a..bf5ee476 100644 --- a/frontend/src/components/auth/AuthCanvas.test.tsx +++ b/frontend/src/components/auth/AuthCanvas.test.tsx @@ -11,9 +11,14 @@ describe('AuthCanvas', () => { ); const card = screen.getByRole('group'); - expect(card.className).toContain('max-h-[calc(100svh-5rem)]'); + expect(card.className).toContain('max-h-[calc(100dvh-5rem)]'); + expect(card.className).toContain('min-h-0'); + expect(card.className).toContain('my-auto'); expect(card.className).toContain('flex-col'); + const shell = card.parentElement; + expect(shell?.className).toContain('overflow-y-auto'); + const body = screen.getByText('Tall content').parentElement; expect(body?.className).toContain('overflow-y-auto'); expect(body?.className).toContain('min-h-0'); diff --git a/frontend/src/components/auth/AuthCanvas.tsx b/frontend/src/components/auth/AuthCanvas.tsx index f4a936ec..c92bf948 100644 --- a/frontend/src/components/auth/AuthCanvas.tsx +++ b/frontend/src/components/auth/AuthCanvas.tsx @@ -9,7 +9,10 @@ export function AuthCanvas({ children, className, footer, ...props }: AuthCanvas return (