You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
Sidebar buttons pushed off-screen due to Flexbox overflow #12910
Bug: Sidebar buttons pushed off-screen due to Flexbox overflow
Description
When generating long code blocks without line breaks, the sidebar input buttons (like "Enter") gradually move right until they're off-screen. This happens because:
Flex containers lack min-width: 0
Code blocks don't have max-width: 100% + word-break: break-all
Expected Behavior
Buttons should remain visible regardless of content length.
Workaround
Manually adding these CSS rules to ./assets/index.css fixes it:
Hi, I can take this up if it is still available. I’ll start by reproducing the sidebar overflow in the VS Code webview, then send a focused PR around the flex/min-width/overflow behavior with manual verification notes. Could this be assigned to me?
This document provides a temporary fix for the visual bug where sidebar input buttons (like "Enter") are pushed off-screen due to flexbox overflow caused by long code blocks.
Note: This is a temporary manual patch. When the Continue extension updates, these changes will be overwritten. Keep this document handy to re-apply the fix if the official patch hasn't been merged yet.
Open the Command Palette (Ctrl+Shift+P or Cmd+Shift+P).
Type and execute: Developer: Reload Window
Reacted by Frankie, SuperSweatyYeti and marcusthomas19
Reacted by František Boldiš, Graham Hurlston, Jsalinger, Rich Hopkins, ventusboy, angelramirezisea, Charlotte Rieux, SuperSweatyYeti, marcusthomas19 and Taylor English
This is only a temporary workaround. A Continue extension update may overwrite the modified CSS file, so the fix may need to be applied again after an update.
Just wanted to confirm that this UI overflow issue is still present and I've successfully applied the community-suggested CSS patch to fix it.
Here are my environment details for reference:
OS: macOS (Apple Silicon / ARM64)
VS Code: 1.90.0
Continue Extension: v2.0.0
The bug made the chat panel unusable with long responses or code blocks, as the content would push all action buttons off-screen.
The fix was to add the proposed CSS to the end of the extension's main stylesheet.
(Note: The version number in the path may vary for other users.)
CSS Snippet Added:
Apply
/* Manual patch for Flexbox overflow (GitHub Issue #12910) /
.flex, [class="flex"] { min-width: 0 !important; }
pre, code { max-width: 100% !important; word-break: break-all !important; }
After adding the code and reloading the VS Code window (Reload Window), the problem is completely solved. The layout now correctly contains long content without overflowing.
Hope this confirmation helps the developers prioritize a permanent fix and assists other users in the meantime. Thanks for the great work on this extension!
Activity
harshmathurx commentedon Jun 28, 2026
Hi, I can take this up if it is still available. I’ll start by reproducing the sidebar overflow in the VS Code webview, then send a focused PR around the flex/min-width/overflow behavior with manual verification notes. Could this be assigned to me?
LuxusIX commentedon Jun 29, 2026
Thanks, i have the same problem in the vscode-oss IDE
pnelligan commentedon Jul 3, 2026
This fix works. Here's the full procedure. Thank you for posting this.
Workaround Guide: Fixing Continue UI Sidebar Flexbox Overflow
This document provides a temporary fix for the visual bug where sidebar input buttons (like "Enter") are pushed off-screen due to flexbox overflow caused by long code blocks.
The Issue
Step-by-Step Patch Procedure
1. Locate Your Extensions Directory
Navigate to the VS Code extensions directory on your machine:
%USERPROFILE%\.vscode\extensions\~/.vscode/extensions/~/.vscode/extensions/2. Find the Extension Assets Folder
Look for the directory matching the Continue extension:
continuedev.continue-<VERSION>(e.g.,continuedev.continue-2.0.0-win32-x64)gui/assets/index.css(If the structure changes in future versions, search the extension folder directly for
index.css)3. Inject the CSS Hotfix
Open
index.cssin a text editor (like VS Code or Notepad), scroll to the absolute bottom of the file, and paste the following snippet:4. Apply Changes
Save and close the index.css file.
Return to VS Code.
Open the Command Palette (Ctrl+Shift+P or Cmd+Shift+P).
Type and execute: Developer: Reload Window
angelramirezisea commentedon Jul 23, 2026
This worked in VS Codium (Devuan Linux). Thanks!
RuDee-BG commentedon Aug 5, 2026
This happened to me as well.
Temporary fix on Windows
Open PowerShell and run:
Then reload VS Code:
Ctrl + Shift + PDeveloper: Reload WindowThis is only a temporary workaround. A Continue extension update may overwrite the modified CSS file, so the fix may need to be applied again after an update.
mangasincensuraFrankie commentedon Aug 11, 2026
### CSS Patch Confirmed as Working on macOS ARM64
Hi everyone,
Just wanted to confirm that this UI overflow issue is still present and I've successfully applied the community-suggested CSS patch to fix it.
Here are my environment details for reference:
OS: macOS (Apple Silicon / ARM64)
VS Code: 1.90.0
Continue Extension: v2.0.0
The bug made the chat panel unusable with long responses or code blocks, as the content would push all action buttons off-screen.
The fix was to add the proposed CSS to the end of the extension's main stylesheet.
File Modified: ~/.vscode/extensions/continue.continue-2.0.0-darwin-arm64/gui/assets/index.css
(Note: The version number in the path may vary for other users.)
CSS Snippet Added:
Apply
/* Manual patch for Flexbox overflow (GitHub Issue #12910) /
.flex, [class="flex"] { min-width: 0 !important; }
pre, code { max-width: 100% !important; word-break: break-all !important; }
After adding the code and reloading the VS Code window (Reload Window), the problem is completely solved. The layout now correctly contains long content without overflowing.
Hope this confirmation helps the developers prioritize a permanent fix and assists other users in the meantime. Thanks for the great work on this extension!
SuperSweatyYeti commentedon Aug 19, 2026
Just found this extension and am suffering from this nasty bug as well. Windows 11.
Thank you guys for the temporary workaround. Hopefully the fix gets merged and released soon...