Description
This is a UI/UX responsive issue. The deposit modal in src/App.tsx uses a two-column .modal-grid (form panel + preview panel). On small screens the columns cramp, the .preview-row key/value pairs and the long transaction hash overflow, and the modal can exceed the viewport height without internal scrolling.
Requirements and Context
- Stack the form and preview panels in a single column below a defined breakpoint.
- Constrain the modal to the viewport with internal scrolling and a pinned action footer.
- Ensure the truncated hash, preset buttons, and
.modal-actions remain usable and tappable on mobile.
- Must be secure, tested, and documented
- Should be efficient and easy to review
Suggested Execution
- Fork the repo and create a branch
git checkout -b feature/deposit-modal-responsive
- Implement changes
src/index.css — add responsive .deposit-modal/.modal-grid rules and max-height + scroll
src/App.tsx — adjust markup only if needed for the scroll/footer structure
- Test and commit
npm run dev, open the modal at 360px and 768px through the full deposit flow
- Include test output and notes in the PR
Example commit message
feat: responsive layout for deposit modal
Acceptance Criteria
Guidelines
- Cover mobile, tablet, and desktop breakpoints
- Clear documentation and inline comments
- Timeframe: 96 hours
Description
This is a UI/UX responsive issue. The deposit modal in
src/App.tsxuses a two-column.modal-grid(form panel + preview panel). On small screens the columns cramp, the.preview-rowkey/value pairs and the long transaction hash overflow, and the modal can exceed the viewport height without internal scrolling.Requirements and Context
.modal-actionsremain usable and tappable on mobile.Suggested Execution
src/index.css— add responsive.deposit-modal/.modal-gridrules and max-height + scrollsrc/App.tsx— adjust markup only if needed for the scroll/footer structurenpm run dev, open the modal at 360px and 768px through the full deposit flowExample commit message
Acceptance Criteria
Guidelines