Macro is a unified workspace for teams: email, chat, docs, tasks, agents, calls, and CRM — @-linked together with shared AI memory.
TypeScript agentaiai-agentsall-in-onecrmcrm-systememaillinearmcpmessagingnotesnotionofficerustslackslack-alternativestartupstartup-toolstypescriptworkspace
fix(mobile): squeeze unread indicator (#3475)
Peter Chinman96185d143f1b
diff --git a/js/app/packages/app/component/next-soup/soup-view/views/tasks/TaskListEntity.tsx b/js/app/packages/app/component/next-soup/soup-view/views/tasks/TaskListEntity.tsxindex b14848d68f..b664811561 100644--- a/js/app/packages/app/component/next-soup/soup-view/views/tasks/TaskListEntity.tsx+++ b/js/app/packages/app/component/next-soup/soup-view/views/tasks/TaskListEntity.tsx@@ -125,9 +125,9 @@ export function TaskListEntity(props: TaskListEntityProps) {}}ref={mergeRefs(props.ref, draggable)}class={cn(- 'soup-list-entity @container/entity w-[calc(100%-0.5rem)] mx-1 relative group/narrow flex flex-col py-0.5 rounded-lg',+ 'soup-list-entity @container/entity w-[calc(100%-0.5rem)] mr-1 relative group/narrow flex flex-col py-0.5 rounded-lg',{- 'min-h-10': !isMobile(),+ 'min-h-10 mx-1': !isMobile(),'bg-accent/8': props.checked,'ring ring-accent/16 ring-inset': props.checked && props.highlighted,'ring ring-edge bg-active/60 ring-inset':diff --git a/js/app/packages/entity/src/composed/ListEntity.css b/js/app/packages/entity/src/composed/ListEntity.cssindex f4d147538a..fb9e65a20c 100644--- a/js/app/packages/entity/src/composed/ListEntity.css+++ b/js/app/packages/entity/src/composed/ListEntity.css@@ -1,7 +1,7 @@/* Variables for x-axis alignment of mobile soup inbox Entities */.soup-list-entity {--soup-inbox-unread-indicator-diameter: 11px;- --soup-inbox-unread-indicator-padding-x: 8px;+ --soup-inbox-unread-indicator-padding-x: 7px;--soup-inbox-unread: calc(var(--soup-inbox-unread-indicator-diameter) +var(--soup-inbox-unread-indicator-padding-x) * 2diff --git a/js/app/packages/entity/src/composed/ListEntity.tsx b/js/app/packages/entity/src/composed/ListEntity.tsxindex b1befc63b1..0bddc80c39 100644--- a/js/app/packages/entity/src/composed/ListEntity.tsx+++ b/js/app/packages/entity/src/composed/ListEntity.tsx@@ -183,9 +183,9 @@ export function ListEntity(props: ListEntityProps) {}}ref={mergeRefs(props.ref, draggable)}class={cn(- 'soup-list-entity rounded-lg @container/entity w-[calc(100%-0.5rem)] mx-1 relative group/narrow flex flex-col py-0.5',+ 'soup-list-entity rounded-lg @container/entity w-[calc(100%-0.5rem)] mr-1 relative group/narrow flex flex-col py-0.5',{- 'min-h-10': !isMobile(),+ 'min-h-10 mx-1': !isMobile(),'bg-accent/8': props.checked,'ring ring-accent/16 ring-inset': props.checked && props.highlighted,'ring ring-edge bg-active/60 ring-inset':