Skip to content

fix(ui): align account cards on desktop & make form grid responsive - #39

Merged
halfguru merged 1 commit into
mainfrom
fix/desktop-account-alignment-and-responsive-form-grid
Aug 22, 2026
Merged

fix(ui): align account cards on desktop & make form grid responsive#39
halfguru merged 1 commit into
mainfrom
fix/desktop-account-alignment-and-responsive-form-grid

Conversation

@halfguru

Copy link
Copy Markdown
Owner

This PR fixes UI alignment discrepancies on both mobile and desktop views:

  1. Desktop Account Input Alignment:

    • Removed sm:w-auto from labels inside AccountCard.tsx, maintaining a fixed width of w-14 (56px) for the "Balance" and "Annual" labels on all screens. This ensures the input textboxes start at the exact same horizontal position on desktop.
  2. Mobile Form Grid Layout:

    • Refactored the form grid in PersonForm.tsx from grid-cols-2 to grid-cols-1 sm:grid-cols-2.
    • On mobile, input fields now stack vertically to prevent label wrapping/misalignment and allow full-width fields. On desktop/tablet, they remain side-by-side.

@halfguru
halfguru merged commit cfb1446 into main Aug 22, 2026
2 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant