From dac676e8284725c8ec6de08282fe08a9b519ccc8 Mon Sep 17 00:00:00 2001 From: Peter Stone Date: Thu, 26 Mar 2026 09:01:35 +0000 Subject: feat: show tasks and subtasks in story detail view Story detail modal now fetches /api/stories/{id}/tasks and renders top-level tasks as a numbered list with subtasks nested beneath, using the same state emoji as the blocked/task views. Co-Authored-By: Claude Sonnet 4.6 --- web/style.css | 29 +++++++++++++++++++++++++++++ 1 file changed, 29 insertions(+) (limited to 'web/style.css') diff --git a/web/style.css b/web/style.css index 1aa6627..c7e82ae 100644 --- a/web/style.css +++ b/web/style.css @@ -1924,3 +1924,32 @@ dialog label select:focus { .story-detail-body { padding: 0.25rem 0; } + +.story-detail-tasks { + margin-top: 1rem; + padding-top: 0.75rem; + border-top: 1px solid var(--border); +} + +.story-detail-task-list { + margin: 0.5rem 0 0; + padding-left: 1.25rem; + list-style: decimal; +} + +.story-detail-task-list > li { + padding: 0.2rem 0; + font-size: 0.9rem; +} + +.story-detail-subtask-list { + margin: 0.25rem 0 0.25rem 0.5rem; + padding-left: 1rem; + list-style: none; +} + +.story-detail-subtask-list li { + font-size: 0.85rem; + opacity: 0.85; + padding: 0.1rem 0; +} -- cgit v1.2.3