fix: chat page not full width, scrollbar only works in middle area#634
Merged
Conversation
- Remove max-width constraint on chat scroll container to make it fill full width - Keep message content and input box original centered 960px width for readability - Scrollbar now appears at the far right of the page, works on entire area
The full-width refactor removed the parent px-6 inset the composer used to sit inside, leaving the composer card 48px wider than the message column. The composer root now carries its own px-6 (with the empty-state cap bumped 720->768 so content width is unchanged in both states), and the session-loading wrapper passes full height through so SessionLoadingView's absolutely-positioned cancel button stays at the chat-area corner instead of collapsing next to the spinner. Co-Authored-By: Claude Opus 4.8 (1M context) <noreply@anthropic.com>
pancacake
added a commit
that referenced
this pull request
Jul 18, 2026
…mmetric scrollbar gutter Follow-up to #615/#608/#634: the isComposingRef + composition-handler trio duplicated across five textareas (ComposerInput, SimpleComposerInput, ChatMessages edit, BookChatPanel, PartnerComposer) becomes one useImeComposing() hook; the citation-anchor fallback chain + <details> auto-open duplicated in both markdown renderers moves to lib/markdown-anchors.ts; and the chat scrollport reserves the scrollbar gutter on both edges so the message column centers on the same axis as header and composer on classic-scrollbar platforms. Co-Authored-By: Claude Opus 4.8 (1M context) <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.
Description
meaningless blank space on both sides. This change moves the scroll container to full width while keeping message content and input box at the original 960px centered width, so scrollbar appears at the far
right and works across the entire page area without changing any visual appearance.
scrolling anywhere in the chat area.