mirror of
https://github.com/open-webui/open-webui.git
synced 2026-09-06 08:18:53 +00:00
fix: consistent chat message bubble widths in widescreen mode
The markdown-prose class uses Tailwind's prose plugin which applies a default max-width of 65ch. This conflicts with the parent container's w-full/min-w-full constraints, causing message bubbles to resize inconsistently when content (especially code blocks like YAML) exceeds the 65ch limit. Adding max-w-none removes the prose default max-width and lets the parent Message container control the overall width via max-w-5xl (normal) or max-w-full (widescreen). Fixes #5975
This commit is contained in:
parent
9bd84258d0
commit
a367a8c7d7
1 changed files with 1 additions and 1 deletions
|
|
@ -103,7 +103,7 @@ textarea::placeholder {
|
|||
}
|
||||
|
||||
.markdown-prose {
|
||||
@apply prose dark:prose-invert prose-blockquote:border-s-gray-100 prose-blockquote:dark:border-gray-800 prose-blockquote:border-s-2 prose-blockquote:not-italic prose-blockquote:font-normal prose-headings:font-semibold prose-hr:my-4 prose-hr:border-gray-50 prose-hr:dark:border-gray-850 prose-p:my-0 prose-img:my-1 prose-headings:my-1 prose-pre:my-0 prose-table:my-0 prose-blockquote:my-0 prose-ul:-my-0 prose-ol:-my-0 prose-li:-my-0 whitespace-pre-line;
|
||||
@apply prose max-w-none dark:prose-invert prose-blockquote:border-s-gray-100 prose-blockquote:dark:border-gray-800 prose-blockquote:border-s-2 prose-blockquote:not-italic prose-blockquote:font-normal prose-headings:font-semibold prose-hr:my-4 prose-hr:border-gray-50 prose-hr:dark:border-gray-850 prose-p:my-0 prose-img:my-1 prose-headings:my-1 prose-pre:my-0 prose-table:my-0 prose-blockquote:my-0 prose-ul:-my-0 prose-ol:-my-0 prose-li:-my-0 whitespace-pre-line;
|
||||
}
|
||||
|
||||
.markdown-prose-sm {
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue