Skip to content

fix(gui): contain sidebar markdown overflow#12940

Open
JSap0914 wants to merge 1 commit into
continuedev:mainfrom
JSap0914:fix/sidebar-flex-overflow-12910
Open

fix(gui): contain sidebar markdown overflow#12940
JSap0914 wants to merge 1 commit into
continuedev:mainfrom
JSap0914:fix/sidebar-flex-overflow-12910

Conversation

@JSap0914

@JSap0914 JSap0914 commented Jul 3, 2026

Copy link
Copy Markdown

Summary\n- allow the GUI main pane and chat step wrappers to shrink with min-w-0\n- hide horizontal overflow at the chat-scroll container while keeping code blocks horizontally scrollable\n- cap markdown/code blocks to their parent width instead of viewport width\n\nFixes #12910.\n\n## Verification\n- npx prettier --check gui/src/pages/gui/index.tsx gui/src/pages/gui/Chat.tsx gui/src/components/StepContainer/StepContainer.tsx gui/src/components/StyledMarkdownPreview/index.tsx\n- npm --prefix gui run lint -- src/pages/gui/index.tsx src/pages/gui/Chat.tsx src/components/StepContainer/StepContainer.tsx src/components/StyledMarkdownPreview/index.tsx\n- Chromium layout smoke: 420px sidebar with 5000-character unbroken code token kept document scrollWidth at 420px, Enter button right edge at 412px, and overflow inside the code block\n\n## Notes\n- npm --prefix gui run tsc:check was not usable in this checkout after package install because it reports existing core dependency/type errors outside these files.\n- npm --prefix gui test -- src/pages/gui/chat-tests/Chat.test.tsx was not usable because the existing test setup fails before collection with localStorage.getItem is not a function.

@JSap0914 JSap0914 requested a review from a team as a code owner July 3, 2026 11:52
@JSap0914 JSap0914 requested review from Copilot and sestinj and removed request for a team July 3, 2026 11:52
@dosubot dosubot Bot added the size:S This PR changes 10-29 lines, ignoring generated files. label Jul 3, 2026

Copilot AI left a comment

Copy link
Copy Markdown

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Copilot was unable to review this pull request because the user who requested the review has reached their quota limit.

@github-actions

github-actions Bot commented Jul 3, 2026

Copy link
Copy Markdown
Contributor


Thank you for your submission, we really appreciate it. Like many open-source projects, we ask that you sign our Contributor License Agreement before we can accept your contribution. You can sign the CLA by just posting a Pull Request Comment same as the below format.


I have read the CLA Document and I hereby sign the CLA


You can retrigger this bot by commenting recheck in this Pull Request. Posted by the CLA Assistant Lite bot.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

size:S This PR changes 10-29 lines, ignoring generated files.

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants