fix(flow-chat): reduce excessive input box and footer heights for short windows - #2047
Open
xielixing wants to merge 1 commit into
Open
fix(flow-chat): reduce excessive input box and footer heights for short windows#2047xielixing wants to merge 1 commit into
xielixing wants to merge 1 commit into
Conversation
…rt windows Issue GCWing#1580: input box and streaming output area height design problem. The input box min-height values (76px box, 56px input-area) were too large, causing excessive blank space especially in short windows. The footer spacer geometry (NORMAL_INPUT_BLOCK_SAFE_PX=96) forced a 124px footer reservation, consuming too much vertical space. Changes: - ChatInput.scss: reduce __box min-height 76px -> 56px - ChatInput.scss: reduce multi-line __input-area min-height 56px -> 28px - ChatInput.scss: reduce base __input-area min-height 56px -> 28px - flowChatScrollLayout.ts: reduce NORMAL_INPUT_BLOCK_SAFE_PX 96 -> 64 - VirtualMessageList.scss: reduce footer fallback height 120px -> 92px, min-height 72px -> 56px - ScrollToLatestBar.scss: reduce default height 114px -> 98px, content bottom 90px -> 74px The FALLBACK_INPUT_BLOCK_ACTIVE_PX=96 is kept unchanged to prevent the white-screen scroll clamp issue when input collapses to capsule mode. Capsule mode is not affected (already overrides __input-area to min-height: 0).
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.
Issue #1580
The input box and streaming output area have height design problems. When the chat pane is short (e.g., when the bottom terminal is expanded), the input box min-height values (76px box, 56px input-area) are too large, causing excessive blank space. The footer spacer geometry (NORMAL_INPUT_BLOCK_SAFE_PX=96) forces a 124px footer reservation, consuming too much vertical space and leaving very little room for streaming output.
Changes
The \FALLBACK_INPUT_BLOCK_ACTIVE_PX=96\ is kept unchanged to prevent the white-screen scroll clamp issue when input collapses to capsule mode. Capsule mode is not affected (already overrides __input-area\ to \min-height: 0).
Validation