Fix the Planner Chat composer's streaming Stop button rendering narrower than the idle Send button by giving both variants a shared width floor. - Declare a locally-scoped --chat-input-control-size on .task-planner-chat-composer (same formula as ChatView.css's .chat-input-row so the shared .chat-input-send/.chat-input-stop classes no longer read an undefined custom property and fall back to width: auto. - Add a min-inline-size floor bound to that property on .task-planner-chat-send (present on both send and stop variants) so neither button renders narrower than the other on desktop. - Add a regression test asserting the desktop control-size floor, the pre-existing mobile square sizing, and the FN-7594 stop-icon visibility contract. - Add a changeset documenting the fix as a patch release. Files changed: .changeset/fn-7634-planner-stop-button-width.md | 7 +++++ .../app/components/TaskPlannerChatTab.css | 8 ++++++ .../__tests__/TaskPlannerChatTab.test.tsx | 33 ++++++++++++++++++++++ 3 files changed, 48 insertions(+) EOF ) Fusion-Task-Id: FN-7634 Fusion-Task-Lineage: e73c836f-3c2d-4871-ac93-fdf5e52de5f6 Co-authored-by: Fusion (runfusion.ai) <noreply@runfusion.ai>
9.3 KiB
9.3 KiB