Skip to content

fix: mobile-first layout for Verification Page#452

Merged
dev-fatima-24 merged 1 commit into
dev-fatima-24:mainfrom
Praizfotos:fix/verify-page-mobile-layout
Jun 2, 2026
Merged

fix: mobile-first layout for Verification Page#452
dev-fatima-24 merged 1 commit into
dev-fatima-24:mainfrom
Praizfotos:fix/verify-page-mobile-layout

Conversation

@Praizfotos
Copy link
Copy Markdown
Contributor

Summary

Redesigns the Verification Page layout to be mobile-first, fixing overflow and overlap issues on small screens.

Changes

  • VerifyPage.jsx — form uses flex-direction: column so input and button stack vertically; button and input are full-width (width: 100%, box-sizing: border-box, min-width: 0); consolidated both aria-live regions into one stable container to prevent layout shift when the result loads; larger tap target + touch-action: manipulation for one-handed use
  • VerificationBadge.jsx — changed inline-flexflex with width: 100% and box-sizing: border-box so the badge fills its container instead of overflowing at narrow widths

Acceptance Criteria

  • Input field is full-width on mobile
  • Verification badge stacks below the input on screens < 640px
  • Result metadata (vaccine name, date, issuer) wraps cleanly via word-break: break-all and flex-wrap
  • Page is usable with one hand on a 375px screen (full-width tap targets, stacked layout)
  • No layout shift when the result loads (single stable aria-live container)

Closes #232

- Stack input and button vertically with flex column form layout
- Make input and button full-width with box-sizing: border-box
- Switch VerificationBadge from inline-flex to full-width flex
- Consolidate aria-live regions to prevent layout shift on result load
- Add touch-action and larger tap target for one-handed mobile use

Closes dev-fatima-24#232
@Praizfotos Praizfotos force-pushed the fix/verify-page-mobile-layout branch from be08f26 to 8f87ddd Compare June 2, 2026 11:08
@drips-wave
Copy link
Copy Markdown

drips-wave Bot commented Jun 2, 2026

@Praizfotos Great news! 🎉 Based on an automated assessment of this PR, the linked Wave issue(s) no longer count against your application limits.

You can now already apply to more issues while waiting for a review of this PR. Keep up the great work! 🚀

Learn more about application limits

@dev-fatima-24 dev-fatima-24 merged commit 1612fc2 into dev-fatima-24:main Jun 2, 2026
4 of 19 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.

[FRONTEND] Add responsive layout to Verification Page

2 participants