fix(spa): keep the context-meter panel above the announcement pill - #1369
Merged
Merged
Conversation
The panel was z-20 and the announcement pill z-30, and both sit in chat-input's stacking context, so an open panel had the pill drawn across it. Raise the panel to z-40. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
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.
Problem
With an announcement showing, opening the context meter drew the announcement pill (e.g. "Claude Opus 5.5, GPT-6 Sol and GPT-6 Luna are here") on top of the panel's cost/quota section.
Cause
The panel is positioned inside the composer at
z-20. The announcement pill floats above the composer atz-30. Neitherchat-input's host nor anything between the two sets a z-index, so they're compared in the same stacking context and the pill wins. The model picker doesn't have this problem because its menu is a CDK overlay attached to<body>.Fix
Raise the panel to
z-40, with a comment saying why. When the panel is closed nothing changes; when it's open, it covers the pill.Testing
Not checked in a browser. The change is one Tailwind class.
🤖 Generated with Claude Code