Fix investigation drawer button clipped by LiveOps DockBar - #32
Merged
Conversation
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>
|
The latest updates on your projects. Learn more about Vercel for GitHub.
|
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
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, replacedpy: 2.25on the footer box withpt: 2.25+pb: calc(theme.spacing(2.25) + 40px), importing the already-exportedDOCKBAR_HEIGHTconstant fromLiveOpsConsole.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
🤖 Generated with Claude Code