fix(ui): prevent modal button wrapping and date overlap - #11
Merged
myaschmitz merged 5 commits intoAug 4, 2026
Conversation
- 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>
|
The latest updates on your projects. Learn more about Vercel for GitHub.
|
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Summary
Testing
npx tsc --noEmitnpm test -- --watchAll=false --runInBand --silent(83 tests)