Skip to content

fix(admin,app): wrap long code blocks inside chat bubbles (CLEAN-113) - #109

Merged
maksymhryzodub-prog merged 1 commit into
mainfrom
fix/CLEAN-113-chat-code-wrap
Sep 23, 2026
Merged

maksymhryzodub-prog merged 1 commit into
mainfrom
fix/CLEAN-113-chat-code-wrap

Conversation

@maksymhryzodub-prog

@maksymhryzodub-prog maksymhryzodub-prog commented Sep 23, 2026

Copy link
Copy Markdown
Contributor

Jira: CLEAN-113

A one-line fenced reply (raw tool result, JSON error) sat in a pre with overflow-x: auto and no wrapping, so it ran off the bubble and was cut (admin agent chat, Silpo tool results). Chat bubbles are not editors: .chat-md pre now wraps (white-space: pre-wrap; overflow-wrap: anywhere), and inline code folds long ids/URLs.

Twin consoles: the same .chat-md rules live in admin/slices/bridle/.../Provider.vue and app/slices/bridle/.../Message.vue — both changed. CSS only, no script changes.

🤖 Generated with Claude Code

https://claude.ai/code/session_01KtJu4QscRKbDdj8WLL9aVL

A reply that is one long fenced line — a raw tool result, a JSON error —
sat in a `pre` with `overflow-x: auto` and no wrapping, so it ran past the
bubble edge and was cut off (seen in the admin agent chat with Silpo tool
results). A chat bubble is not an editor: the block now wraps, and inline
code folds long ids and URLs too. Same `.chat-md` rules in both consoles,
so both are changed; the twin-console check found nothing else sharing them.

Co-Authored-By: Claude Fable 5.1 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_01KtJu4QscRKbDdj8WLL9aVL
@maksymhryzodub-prog
maksymhryzodub-prog merged commit b5de18e into main Sep 23, 2026
1 check passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant