Skip to content

armgit / macro

Public Imported from GitHub
0

Macro is a unified workspace for teams: email, chat, docs, tasks, agents, calls, and CRM — @-linked together with shared AI memory.

fix: collapse Similar Tasks pills to icons so task names stay readable (#4474)

Jacob Beckermana745564b1474
diff --git a/js/app/packages/block-md/component/TaskDuplicateList.tsx b/js/app/packages/block-md/component/TaskDuplicateList.tsx
index 9345f71e41..2e7c9d46aa 100644
--- a/js/app/packages/block-md/component/TaskDuplicateList.tsx
+++ b/js/app/packages/block-md/component/TaskDuplicateList.tsx
@@ -93,9 +93,12 @@ function SimilarTasksInner(props: {
</button>
<Show when={expanded()}>
<ListLayoutProvider ref={listRef}>
+ {/* Named `u-list` container so the task rows pick up the narrow
+ (<=840px) container queries and collapse status/priority/
+ assignee pills to icons, leaving the width for task names. */}
<div
ref={setListRef}
- class="flex max-h-48 flex-col overflow-y-auto scrollbar-hidden"
+ class="@container/u-list flex max-h-48 flex-col overflow-y-auto scrollbar-hidden"
>
<For each={entities()}>
{(entity) => (