Skip to content

Code block header bar and explanation text do not resize correctly; action buttons hidden when sidebar is narrowed (Windows 11, VS Code 1.131, Continue 2.1.0) #13085

Description

@birchyhollow

Before submitting your bug report

Relevant environment info

OS: Windows 11

VS Code: 1.131.0

Continue extension: 2.1.0

Gemini 2.5 Flash

Description

Issue:
In the Continue sidebar/panel, when resizing the panel width:

The content inside code blocks resizes and wraps correctly.

The header bar of code blocks (the top bar with Copy, Run, Enter buttons) does not resize correctly. As the panel is narrowed, the header extends beyond the visible area and the action buttons disappear under the sidebar edge.

Explanation text between code blocks also does not reflow correctly and can overflow or appear under other UI elements.

This appears to be a CSS/layout bug in the Continue webview, likely due to fixed/min-width styling on the code block header and/or missing overflow handling on the sidebar container.

Steps to reproduce:

To reproduce

Open Continue in the sidebar or panel.

Ask a question that produces a response with:

Explanation text

One or more code blocks (with header bar containing Copy/Run/Enter buttons)

Resize the Continue panel narrower.

Observe:

Code block content wraps correctly.

Code block header bar does not shrink; action buttons get hidden under the sidebar edge.

Explanation text does not reflow properly and may overflow or render under other elements.

Expected behavior:
All elements (code block headers, code content, and explanation text) should stay within the Continue panel bounds when resized. The header bar should shrink or wrap, and overflow should be handled with scrolling instead of elements disappearing under the sidebar edge.

Tried:

Updated Continue to 2.1.0

Disabled hardware acceleration ("disable-hardware-acceleration": true in argv.json)

Moved Continue between primary sidebar, secondary sidebar, and bottom panel

Reloaded window / restarted VS Code

Note:
This looks like a CSS layout bug in the extension’s sidebar. Likely causes:

Code block header has a fixed or min width that doesn’t respond to container size.

Sidebar container may be missing proper height: 100% / overflow-y: auto or has overflow: hidden on some parent.

Screenshots or a short screen recording showing the header bar and buttons being clipped as the panel is narrowed would be very helpful for reproduction.

Image Image

Log output

The continue console only includes prompt and options.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions