Skip to content

fix(ui): prevent modal button wrapping and date overlap - #11

Merged
myaschmitz merged 5 commits into
mainfrom
myaschmitz-myaschmitz-fix-button-text-wrap-date-ove
Aug 4, 2026
Merged

fix(ui): prevent modal button wrapping and date overlap#11
myaschmitz merged 5 commits into
mainfrom
myaschmitz-myaschmitz-fix-button-text-wrap-date-ove

Conversation

@myaschmitz

Copy link
Copy Markdown
Owner

Summary

  • prevent long alert button labels from wrapping by stacking three-or-more actions
  • keep stacked alert buttons visible and contained by the modal
  • use compact, constrained native date/time controls in the bulk-care modal
  • keep Set to Now below the date/time row to preserve vertical space

Testing

  • npx tsc --noEmit
  • npm test -- --watchAll=false --runInBand --silent (83 tests)
  • tested the alert and bulk-care modal on an iPhone development client

myaschmitz and others added 4 commits July 11, 2026 10:32
- Stack alert dialog buttons vertically when there are more than 2, and add numberOfLines to button labels so text no longer wraps in modals.
- Stack the Date, Time, and Set to Now controls vertically in BatchCareModal so the native pickers no longer overlap on narrow screens (e.g. iPhone 16 Pro).
- Add numberOfLines to plant action button labels.

Co-authored-by: Copilot App <223556219+Copilot@users.noreply.github.com>
…inline

- Alert dialog: stacked buttons no longer collapse or overflow the modal. Removed flex:1 from the base button style so it only applies to side-by-side (2-button) rows; stacked buttons size to content with a minHeight touch target, and the modal grows to contain them.
- BatchCareModal: keep Date and Time on one row (side by side) to avoid scrolling, and move Set to Now onto its own line below so the native pickers no longer overlap on iPhone.

Co-authored-by: Copilot App <223556219+Copilot@users.noreply.github.com>
Keep the bulk-care Date and Time controls on separate compact rows, reduce surrounding spacing, and shorten the Set to Now button to minimize scrolling.

Co-authored-by: Copilot App <223556219+Copilot@users.noreply.github.com>
Render the bulk-care date and time pickers side by side using compact native controls and constrained columns, while keeping Set to Now below them.

Co-authored-by: Copilot App <223556219+Copilot@users.noreply.github.com>
@vercel

vercel Bot commented Aug 4, 2026

Copy link
Copy Markdown

The latest updates on your projects. Learn more about Vercel for GitHub.

Project Deployment Actions Updated (UTC)
rooted Ready Ready Preview Aug 4, 2026 5:12pm

@myaschmitz
myaschmitz merged commit 4f66cd5 into main Aug 4, 2026
4 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