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(web): stop the sidebar active-call badge overlapping the Chat glyph (#6731)

Peter Chinmane8d1364ee7dd
diff --git a/apps/web/src/components/app/sidebar-next/list-nav.tsx b/apps/web/src/components/app/sidebar-next/list-nav.tsx
index 0e2d14f4e0..f34c3289c2 100644
--- a/apps/web/src/components/app/sidebar-next/list-nav.tsx
+++ b/apps/web/src/components/app/sidebar-next/list-nav.tsx
@@ -223,9 +223,12 @@ export const ListNav = (props: ListNavProps) => {
when={props.activeCall}
fallback={<SidebarUnreadDot active={props.unread} />}
>
+ {/* Sits outside the button box: the glyph is inset from the
+ corner, so a badge flush to it lands on the icon. The rail's
+ horizontal padding absorbs the overhang. */}
<span
aria-hidden="true"
- class="pointer-events-none absolute top-0 right-0 flex size-3.5 items-center justify-center text-accent"
+ class="pointer-events-none absolute -top-0.5 -right-0.5 flex size-3 items-center justify-center text-accent"
>
<PhoneCallIcon class="size-full" />
</span>