Fix add button being pushed off-screen on mobile#20
Conversation
Agent-Logs-Url: https://github.com/K-Cully/random-picker/sessions/7e538db0-8a08-426e-ae87-bc797004907d Co-authored-by: K-Cully <2370032+K-Cully@users.noreply.github.com>
There was a problem hiding this comment.
Pull request overview
Adjusts form flexbox behavior to prevent the Entries “Add” submit button (and related sidebar add forms) from overflowing off-screen on narrow/mobile viewports, while documenting the responsive decision in DECISIONS.md.
Changes:
- Updated
.add-entry-formto wrap and keep the submit button usable on small screens (including a ≤480px full-width submit button behavior). - Updated
.input-field(and.input-row) flex behavior so inputs can shrink/wrap instead of forcing horizontal overflow. - Added a dated
DECISIONS.mdentry explaining the responsive form approach and rationale.
Reviewed changes
Copilot reviewed 2 out of 2 changed files in this pull request and generated 2 comments.
| File | Description |
|---|---|
css/styles.css |
Makes add-entry and sidebar input rows wrap; adjusts flex sizing to avoid mobile overflow; adds a small-screen rule for a full-width submit button. |
DECISIONS.md |
Documents the responsive form-wrapping decision with a dated entry and rationale. |
|
@copilot review the comments and fix the issues identified |
…tion Agent-Logs-Url: https://github.com/K-Cully/random-picker/sessions/b24460e4-9004-4eb2-99f0-40384ffaa03f Co-authored-by: K-Cully <2370032+K-Cully@users.noreply.github.com>
Addressed both review comments in 00d7fe4:
Warning Firewall rules blocked me from connecting to one or more addresses (expand for details)I tried to connect to the following addresses, but was blocked by firewall rules:
If you need me to access, download, or install something from one of these locations, you can either:
|
|
@copilot address the merge conflicts |
… entries) Agent-Logs-Url: https://github.com/K-Cully/random-picker/sessions/b05a5da5-129e-4608-8284-bf678b7b3a2a Co-authored-by: K-Cully <2370032+K-Cully@users.noreply.github.com>
Co-authored-by: K-Cully <2370032+K-Cully@users.noreply.github.com>
Resolved the merge conflicts with |
.add-entry-form,.input-row,.input-field, plus a 480px rule for full-width submitDECISIONS.mdentry for the responsive forms decisionorigin/main(true merge commit; both datedDECISIONS.mdentries kept — Fair Mode and Responsive Forms;css/styles.cssandjs/app.jsauto-merged)