diff --git a/frontend/src/components/message/ComposerActivityBar.test.tsx b/frontend/src/components/message/ComposerActivityBar.test.tsx
index 8b43a2ef..4c7600a1 100644
--- a/frontend/src/components/message/ComposerActivityBar.test.tsx
+++ b/frontend/src/components/message/ComposerActivityBar.test.tsx
@@ -41,15 +41,15 @@ describe('ComposerActivityBar', () => {
expect(container).toBeEmptyDOMElement()
})
- it('pins a pointer-transparent progressbar across the screen bottom on mobile and below the composer on desktop', () => {
+ it('anchors a pointer-transparent progressbar in the gap below the composer', () => {
useSessionStatus.getState().setStatus('session-a', { type: 'busy' })
render()
const bar = screen.getByRole('progressbar', { name: 'Session working' })
expect(bar).toHaveClass('pointer-events-none', 'flex')
- expect(bar).toHaveClass('fixed', 'inset-x-0', 'bottom-0')
- expect(bar).toHaveClass('md:absolute', 'md:inset-x-3', 'md:-bottom-[11px]')
+ expect(bar).toHaveClass('absolute', 'inset-x-3', '-bottom-[10px]', 'md:-bottom-[11px]')
+ expect(bar).not.toHaveClass('fixed')
})
it('renders a masked segment track with only the sweeping window', () => {
diff --git a/frontend/src/components/message/ComposerActivityBar.tsx b/frontend/src/components/message/ComposerActivityBar.tsx
index 27710fb8..6f6e3b51 100644
--- a/frontend/src/components/message/ComposerActivityBar.tsx
+++ b/frontend/src/components/message/ComposerActivityBar.tsx
@@ -25,11 +25,10 @@ const ACTIVITY_PRESENTATION = {
} as const satisfies Record
/**
- * Session activity scanner. On mobile it spans the full width of the bottom screen edge; from the
- * `md` breakpoint it is anchored in the gap below the composer frame. A fading lit window of 4x8px
- * segments sweeps across the strip. Renders nothing while the
- * session is idle and has no background activity; otherwise announces the current activity through
- * an indeterminate progressbar.
+ * Session activity scanner anchored in the gap below the composer frame. A fading lit window of
+ * 4x8px segments sweeps across the strip. Renders nothing while the session is idle and has no
+ * background activity; otherwise announces the current activity through an indeterminate
+ * progressbar.
*/
export function ComposerActivityBar({ sessionID }: ComposerActivityBarProps) {
const status = useSessionStatusForSession(sessionID)
@@ -52,7 +51,7 @@ export function ComposerActivityBar({ sessionID }: ComposerActivityBarProps) {
aria-label={label}
aria-valuemin={0}
aria-valuemax={100}
- className="pointer-events-none fixed inset-x-0 bottom-0 flex md:absolute md:inset-x-3 md:-bottom-[11px]"
+ className="pointer-events-none absolute inset-x-3 -bottom-[10px] flex md:-bottom-[11px]"
>