Sweep 2 of the styles.css split. Three card-related blocks moved out of the monolith into co-located component CSS files. styles.css 4488 → 3304 (–1184 lines). - /* === Cards === */ (583 lines) → new TaskCard.css - /* === Card Inline Editing === */ (266 lines) → appended to TaskCard.css - /* === Inline Create Card === */ (342 lines) → new InlineCreateCard.css Mobile rules for the moved selectors that previously sat in the global mobile @media block also followed to their respective component CSS files. Kept global: .dep-dropdown* (4 consumers — InlineCreateCard, NewTaskModal, TaskDetailModal, TaskForm). Moving without adding imports to the other 3 consumers would silently break their styling. CSS imports added at TaskCard.tsx:1 and InlineCreateCard.tsx:1. Verified by visual smoke test against the live dev server (board view + cards render correctly). Co-Authored-By: Claude Opus 4.7 (1M context) <noreply@anthropic.com>
5.0 KiB
5.0 KiB