Skip to content

Fix investigation drawer button clipped by LiveOps DockBar - #32

Merged
yatesjalex merged 1 commit into
mainfrom
yatesclaude/busy-elbakyan-64a7d4
Apr 23, 2026
Merged

Fix investigation drawer button clipped by LiveOps DockBar#32
yatesjalex merged 1 commit into
mainfrom
yatesclaude/busy-elbakyan-64a7d4

Conversation

@yatesjalex

Copy link
Copy Markdown
Owner

Root cause

The LiveOps DockBar is position: fixed; bottom: 0; z-index: 1201, which correctly floats above the MUI Drawer (z-index 1200). The drawer paper fills 100% of the viewport height with no awareness of the 40px bar sitting on top of its bottom edge — so the "Re-check attribution" button was partially obscured.

Fix

In InvestigationDrawer.tsx, replaced py: 2.25 on the footer box with pt: 2.25 + pb: calc(theme.spacing(2.25) + 40px), importing the already-exported DOCKBAR_HEIGHT constant from LiveOpsConsole.tsx. This keeps the footer's top padding identical while giving the bottom enough room to clear the DockBar.

The z-index layering is intentional and unchanged — the DockBar should float above everything.

Test plan

  • Open the "Why is this stuck?" drawer for a Needs Attention offer
  • Verify the "Re-check attribution" button is fully visible and not clipped by the Live Ops bar
  • Verify the Live Ops bar still renders on top of the drawer backdrop

🤖 Generated with Claude Code

The DockBar (z-index 1201) correctly floats above the MUI Drawer (1200),
but the drawer's footer had no awareness of the 40px bar height, clipping
the Re-check attribution button. Add bottom padding equal to DOCKBAR_HEIGHT
so the footer clears the bar without touching z-index layering.

Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
@vercel

vercel Bot commented Apr 23, 2026

Copy link
Copy Markdown

The latest updates on your projects. Learn more about Vercel for GitHub.

Project Deployment Actions Updated (UTC)
super Ready Ready Preview, Comment Apr 23, 2026 4:59am

@yatesjalex
yatesjalex merged commit 67161d8 into main Apr 23, 2026
3 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant