Files
Codeman/.changeset/fix-mobile-add-case-submit.md
T
shenlvkang-collab 5969a1df96 fix(mobile): give the Add Case modal a reachable submit button
mobile.css hides #createCaseModal's .set-foot below 860px, and that modal's
header — unlike Settings' — carries no set-head-save. So on a phone the
Create/Link button existed nowhere and the modal could not be submitted at all.

Adds the header button and drives both together through switchCaseModalTab()
and submitCaseModal(), so whichever one is pressed the other shows the same
pending state and is equally unclickable. Following the Settings pattern also
means Add Case picks up the existing .set-head-actions:has(.set-head-save) tray
and .set-head-save sizing with no new CSS; the mobile.css comment that still
listed Add Case as a lone-× sheet is corrected to match.
2026-09-01 12:29:02 +08:00

17 lines
752 B
Markdown
Raw Blame History

This file contains ambiguous Unicode characters
This file contains Unicode characters that might be confused with other characters. If you think that this is intentional, you can safely ignore this warning. Use the Escape button to reveal them.
---
"aicodeman": patch
---
fix(mobile): give the Add Case modal a reachable submit button
`mobile.css` hides `#createCaseModal`'s `.set-foot` on phones, and unlike the Settings
modal that header carries no `set-head-save` — so the Create/Link button existed nowhere
on a phone and the modal could not be submitted at all. Adds the header button and drives
both together, so whichever one is pressed the other shows the same pending state and is
equally unclickable.
Add Case follows the Settings modal's header-save pattern, so it picks up the existing
`.set-head-actions:has(.set-head-save)` tray and `.set-head-save` sizing below 860px with no
new CSS; the `mobile.css` comment that still listed Add Case as a lone-× sheet is updated to
match.