[BUG]

Resolved 💬 2 comments Opened Mar 19, 2026 by adam-gol Closed Apr 16, 2026

Preflight Checklist

  • [x] I have searched existing issues and this hasn't been reported yet
  • [x] This is a single bug report (please file separate reports for different bugs)
  • [x] I am using the latest version of Claude Code

What's Wrong?

What's Wrong?

In the Claude Code VS Code extension, bold text with a grey background within the "Thinking" block does not word wrap correctly. Plain (unstyled) thinking text now wraps correctly, but runs of text that are rendered bold with a grey background remain on a single line and overflow the panel width.

This is a regression/partial fix relative to issues #18105 and #23397 (and possibly a few others). Those issues flagged word wrapping in the thinking block generally, but the fix (if any) was incomplete — the CSS fix was not applied to the styled sub-component used for bold/grey-background runs.

What Should Happen?

All text within the Thinking block, regardless of inline styling (bold, grey background, or otherwise), should wrap to fit the panel width, consistent with how plain thinking text and normal response text already behave.

Error Messages/Logs

Steps to Reproduce

Steps to Reproduce

  1. Open Visual Studio Code with the Claude Code extension v2.1.79.
  2. Send a prompt that triggers extended thinking mode.
  3. Expand the Thinking block to view its contents.
  4. Make the Claude Code panel narrow enough that long lines would need to wrap.
  5. Observe that plain thinking text wraps correctly, but bold text with grey background does not wrap and overflows the panel.

Expected vs. Actual Behavior

  • Expected: All thinking block text wraps at the panel boundary.
  • Actual: Bold/grey-background runs overflow; plain runs wrap correctly.

Root Cause (suspected)

The CSS fix for word wrapping (likely overflow-wrap: break-word or word-wrap: break-word) was applied to the outer thinking block container or plain text elements, but was not applied to the inner styled component(s) used to render bold text with grey background. This component likely has its own CSS class that needs the same fix.

Claude Model

None

Is this a regression?

Yes, this worked in a previous version

Last Working Version

_No response_

Claude Code Version

2.1.79

Platform

Other

Operating System

Ubuntu/Debian Linux

Terminal/Shell

WSL (Windows Subsystem for Linux)

Additional Information

Claude Code Version

2.1.79

Platform

VS Code extension

Related Issues

#18105, #23397

<img width="753" height="141" alt="Image" src="https://github.com/user-attachments/assets/e4ff54ca-623b-4fc7-8ede-db3c1d10ef22" />

View original on GitHub ↗

This issue has 2 comments on GitHub. Read the full discussion on GitHub ↗