Skip to content
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
14 changes: 14 additions & 0 deletions apps/web/src/index.css
Original file line number Diff line number Diff line change
Expand Up @@ -2176,6 +2176,20 @@ code {
background: transparent !important;
}

/* Plain-text fences override the highlighter's inline foreground colors. */
:is(.chat-markdown, .composer-tiptap)
.chat-markdown-codeblock:is(
[data-language="text" i],
[data-language="txt" i],
[data-language="plain" i],
[data-language="plaintext" i]
) {
&,
& :is(pre, pre *) {
color: inherit !important;
}
}

/* Paragraphs and code blocks arrive in chunks while a response streams. Fade
each new block in so the chunk does not pop. @starting-style only applies
when an element is first inserted, and the rule is gated on data-streaming,
Expand Down
Loading