style(ui): refine login card shape and divider spacing
All checks were successful
ci/woodpecker/push/orchestrator Pipeline was successful
ci/woodpecker/push/api Pipeline was successful
ci/woodpecker/push/web Pipeline was successful

- Remove top border-radius from AuthCard (flat top edge, rounded bottom)
- Add overflow-hidden so rainbow gradient bar stays within card bounds
- Remove rounded-t-2xl from gradient bar (no longer needed)
- Increase AuthDivider vertical margin from my-5 to my-8
- Update test selector to match new rounded-b-2xl class

Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
This commit is contained in:
2026-02-22 00:15:29 -06:00
parent a6f75cd587
commit 1c680c11be
2 changed files with 5 additions and 5 deletions

View File

@@ -491,8 +491,8 @@ describe("LoginPage", (): void => {
expect(screen.getByLabelText(/email/i)).toBeInTheDocument();
});
// AuthCard uses rounded-2xl and p-6 sm:p-10
const card = container.querySelector(".rounded-2xl");
// AuthCard uses rounded-b-2xl and p-6 sm:p-10
const card = container.querySelector(".rounded-b-2xl");
expect(card).toHaveClass("p-6", "sm:p-10");
});