mirror of
https://github.com/open-webui/open-webui.git
synced 2026-05-06 10:58:17 -05:00
[PR #19172] [CLOSED] fix(ui): prevent conversation bubble width jumping with code blocks i… #63973
Reference in New Issue
Block a user
Delete Branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
📋 Pull Request Information
Original PR: https://github.com/open-webui/open-webui/pull/19172
Author: @saikirankanakala
Created: 11/13/2025
Status: ❌ Closed
Base:
dev← Head:issue-5975-bubble-width-1📝 Commits (1)
cb4e3c4fix(ui): prevent conversation bubble width jumping with code blocks in widescreen mode📊 Changes
2 files changed (+93 additions, -0 deletions)
View changed files
📝
src/app.css(+54 -0)📝
src/lib/components/chat/Messages/ResponseMessage.svelte(+39 -0)📄 Description
Pull Request: Fix conversation bubble width jumping with YAML/code blocks in widescreen mode
Description
This PR fixes an inconsistent UI behavior where conversation bubbles resize erratically when scrolling through chats containing YAML or other code blocks in widescreen mode with chat bubbles enabled.
Problem
When both Widescreen Mode and Chat Bubble UI are enabled, code blocks (especially YAML) cause conversation bubbles to jump in width during scrolling. This creates a jarring user experience and makes conversations difficult to read.
Solution
Implemented CSS-based fix that:
Type of Change
Fixes
Closes #5975
Testing
Test Environment
Test Scenarios Completed
Results
Screenshots/Videos
Before Fix
[Upload screen recording showing bubbles resizing during scroll]
After Fix
[Upload screen recording showing stable bubble widths]
Checklist
Additional Context
Why CSS-only approach?
Previous Attempts
This builds upon insights from previous PRs:
Contributor License Agreement
By submitting this pull request, I confirm that my contribution is made under the terms of the project's license and I agree to the Contributor License Agreement.
I hereby agree to the terms of the Contributor License Agreement as outlined in the project documentation. I understand that my contributions will be licensed under the same license as the project.
🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.