Repository navigation
fix(threads): attach the composer tray without a drafts gap - #779
Merged
Merged
Conversation
The composer always reserved an empty 32 px Drafts strip above its box. With the queue, subagents or goal tray above, that strip sat between the tray and the composer, so the tray no longer slid under the composer's top edge and left a gap with square corners. With a tray, the empty reserve folds. Arriving drafts then move the tray, not the composer. When the Drafts tab shows, the tray stands on its own above it, fully rounded, instead of overlapping the tab. Fixes: #704 Co-Authored-By: Claude Opus 5.5 <[email protected]>
This was referenced Nov 16, 2026
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.
The composer tray (queue, subagents, goal) is meant to slide 16 px under the composer's top edge. Since #704 the composer always reserves an empty 32 px strip above its box for the Drafts tab. With a tray above, that strip sat between the two, so the tray ended 16 px above the composer with square bottom corners and an empty band inside.
Fixes: #704
Changes
Composer.svelteowns this geometry with:has()rules ondata-composer-tray,data-drafts-slotanddata-drafts-tab, so no prop is threaded throughMessageComposerandComposerBox.Verification
scripts/bench/client-stack.ts) in Chromium, dark and light, at 1280 and 390 px, with a running turn and queued messages:bun install,gen:check,typecheck,lint,format:checkand the web build pass locally. CI (all 4 test shards) passes.check:tmp: 3166 pass, 2 fail, nothing left in the temp dir. One failure isCodex keeps full history when resuming across device login and proxy connections, which fails the same way onorigin/devwith the locally installed Codex CLI (unrelated to this CSS-only change).Copy audit (§8)
No visible text changed.
🤖 Generated with Claude Code