Center the task-id chip with the header badge row on TaskCard. - Add a subtle translateY nudge (calc(var(--space-xs) / 4)) to .card-id in TaskCard.css so the mono task id optically aligns with the first-row badges/icons, while preserving the existing FN-7862 flex-start anchor and FN-7837 badge-wrap contract. - Add an FNXC:TaskCardLayout comment documenting the FN-7871 requirement and rationale for the nudge. - Update TaskCard.badge-wrap.test.tsx to assert the new transform value on the rendered .card-id element and to assert the tokenized transform rule (and absence of a raw px translateY) directly in the loaded CSS. Files changed: packages/dashboard/app/components/TaskCard.css | 5 +++++ .../app/components/__tests__/TaskCard.badge-wrap.test.tsx | 9 ++++++++- 2 files changed, 13 insertions(+), 1 deletion(-) Fusion-Task-Id: FN-7871 Fusion-Task-Lineage: 0c79d482-42d3-4e34-8844-3113c3e75ad7 Co-authored-by: Fusion (runfusion.ai) <noreply@runfusion.ai>
49 KiB
49 KiB