fix(chat): improve error message display with better styling and word-break (#767)
- Add error icon and colored background/border for error messages - Add break-all and max-w-full to prevent long error text overflow - CSS: word-break and overflow-wrap for inline code in error messages
This commit is contained in:
committed by
GitHub
parent
aa071556bf
commit
d68bec491c
@@ -847,6 +847,8 @@ html:not(.dark) .chat-scroll {
|
||||
.streamdown-content code[data-streamdown="inline-code"] {
|
||||
background-color: var(--markdown-inline-code-bg, var(--surface-muted)) !important;
|
||||
color: var(--markdown-inline-code, var(--foreground)) !important;
|
||||
word-break: break-all;
|
||||
overflow-wrap: break-word;
|
||||
}
|
||||
|
||||
/* Markdown headings - use theme colors */
|
||||
|
||||
Reference in New Issue
Block a user