Repository navigation
Studio: keep the download button off the chat composer on phones - #14163
Merged
Merged
Conversation
Fixes #14146. On narrow windows the docked composer runs under the bottom-right rail, so the collapsed download button sat on the send button. The composer now publishes a clearance while it reaches into the rail's column, and the rail adds it to its bottom gutter; the rail stays fixed to the corner and wide layouts are unchanged.
shimmyshimmer
added a commit
to shimmyshimmer/unsloth-staging-4
that referenced
this pull request
Oct 18, 2026
shimmyshimmer
added a commit
to shimmyshimmer/unsloth-staging-4
that referenced
this pull request
Oct 18, 2026
Member
Author
|
@codex review |
Codex Review SummaryThis comment shows the latest Codex review activity on this pull request.
ℹ️ About Codex in GitHubYour team has set up Codex to review pull requests in this repo. Reviews are triggered when you
Codex reacts with 👀 while any review is running, comments if it has suggestions, and reacts with 👍 once all reviews finish with no findings. |
|
Codex Review: Didn't find any major issues. Swish! Reviewed commit: ℹ️ About Codex in GitHubYour team has set up Codex to review pull requests in this repo. Reviews are triggered when you
If Codex has suggestions, it will comment; otherwise it will react with 👍. Codex can also answer questions or update the PR. Try commenting "@codex address that feedback". |
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.
Fixes #14146.
What changed
On phones and other narrow windows, the docked chat composer runs under the bottom-right notification rail. The collapsed download button sat on top of the Send button, and the expanded downloads panel covered the whole composer. Both now sit just above the composer.
The composer now reports how far it reaches up from the bottom edge, but only while its right edge is inside the rail's column. The rail adds that number to its bottom gutter (
--studio-composer-clearance).The rail is still
fixed bottom-0 right-0with the CSS cap from #9547. Only its bottom padding takes the clearance, and that comes from a single input, the composer column's box. Nothing measures the rail itself, so there is no feedback loop. Wide layouts never set the clearance, so desktop is unchanged. In compare mode each pane registers, and the largest clearance wins.Verification
npm run typecheckand the rail contract tests (overlay-shadow-gutter,update-banner-flex-priority) pass.tests/studio/test_update_release_notes.pyandtest_overlay_layering.pypass, with the rail padding contract updated to the new constant.The welcome screen's centred composer does not trigger the lift.
Screenshots
390x844, collapsed download button: it covers Send before, and sits above the composer after:
The expanded downloads panel, before and after:
Not tested here
Real mobile browsers (iOS Safari keyboard behaviour in particular) were not tested; the check used Chromium mobile emulation.