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 layout for channel participants list scrolling (#5759)
Peter Chinmane9f12c2695e2
diff --git a/apps/web/src/features/channel/Participants/ChannelParticipantsTab.tsx b/apps/web/src/features/channel/Participants/ChannelParticipantsTab.tsxindex c0c8dd4708..0e5f99f587 100644--- a/apps/web/src/features/channel/Participants/ChannelParticipantsTab.tsx+++ b/apps/web/src/features/channel/Participants/ChannelParticipantsTab.tsx@@ -138,8 +138,11 @@ export function ChannelParticipantsTab(props: {);};+ // The mobile bottom chrome (dock + accessory regions) floats over the+ // layout, so the panel stack has to end above it for the participants list+ // to scroll clear of it.return (- <div class="h-full overflow-hidden flex justify-center p-2">+ <div class="h-full overflow-hidden flex justify-center p-2 touch:pb-[calc(var(--mobile-content-inset-bottom,0px)+0.5rem)]"><div class="max-w-200 size-full flex flex-col gap-2"><Panel depth={2} class="min-h-0 flex-1 overflow-hidden text-ink"><Panel.Header class="justify-between gap-2 px-6">diff --git a/apps/web/src/features/channel/Participants/ParticipantsList.tsx b/apps/web/src/features/channel/Participants/ParticipantsList.tsxindex 53b6e933f5..4b11b3e902 100644--- a/apps/web/src/features/channel/Participants/ParticipantsList.tsx+++ b/apps/web/src/features/channel/Participants/ParticipantsList.tsx@@ -33,7 +33,7 @@ export function ParticipantsList(props: {<div ref={setListWrapperRef} class="relative h-full min-h-0"><VListdata={props.participants()}- class="h-full scrollbar-hidden pb-(--safe-bottom)"+ class="h-full scrollbar-hidden"style={{height: '100%',width: '100%',