mirror of
https://github.com/open-webui/open-webui.git
synced 2026-07-28 17:59:25 -05:00
[PR #24653] [CLOSED] fix: prevent bubble width shifts with YAML code blocks in widescreen mode #98797
Reference in New Issue
Block a user
📋 Pull Request Information
Original PR: https://github.com/open-webui/open-webui/pull/24653
Author: @linliang-bot
Created: 5/13/2026
Status: ❌ Closed
Base:
main← Head:fix/5975-bubble-width-yaml-widescreen📝 Commits (1)
793f84efix: prevent bubble width shifts with YAML code blocks in widescreen mode📊 Changes
2 files changed (+2 additions, -2 deletions)
View changed files
📝
src/lib/components/chat/Messages/ResponseMessage.svelte(+1 -1)📝
src/lib/components/chat/Messages/UserMessage.svelte(+1 -1)📄 Description
Summary
This applies a small flexbox fix for inconsistent bubble sizing in widescreen mode with YAML/code blocks.
It replaces
min-w-fullwithmin-w-0on the message content containers in:src/lib/components/chat/Messages/UserMessage.sveltesrc/lib/components/chat/Messages/ResponseMessage.svelteWhy
min-w-fullis too restrictive here and can cause wide code blocks to affect bubble sizing inside the flex layout.Using
min-w-0lets the content shrink correctly while keeping horizontal overflow inside the markdown/code block area.Testing
Tested manually with:
This keeps bubble width stable during scrolling.
Closes #5975
🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.