Skip to content

fix(code-block): overflow-wrap for softWrap mode (#DS-3032)#1414

Merged
artembelik merged 2 commits into
18.xfrom
fix/DS-3032-18.x
Mar 11, 2026
Merged

fix(code-block): overflow-wrap for softWrap mode (#DS-3032)#1414
artembelik merged 2 commits into
18.xfrom
fix/DS-3032-18.x

Conversation

@artembelik

Copy link
Copy Markdown
Contributor

No description provided.

@artembelik artembelik self-assigned this Mar 11, 2026
Copilot AI review requested due to automatic review settings March 11, 2026 08:17
@artembelik artembelik added bug Something isn't working 18.x labels Mar 11, 2026

Copilot AI left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

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

Pull request overview

Adjusts the code-block component styling so softWrap mode can break very long, unspaced tokens (e.g., long URLs, hashes) instead of overflowing horizontally.

Changes:

  • Add overflow-wrap: anywhere to .kbq-code-block_soft-wrap .kbq-code-block__code to allow wrapping of long tokens when white-space: pre-wrap is enabled.

💡 Add Copilot custom instructions for smarter, more guided reviews. Learn how to get started.

@artembelik artembelik merged commit 8a073b2 into 18.x Mar 11, 2026
11 checks passed
@artembelik artembelik deleted the fix/DS-3032-18.x branch March 11, 2026 08:32
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

18.x bug Something isn't working

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants