mirror of
https://github.com/openclaw/openclaw.git
synced 2026-05-04 14:30:24 +00:00
fix: remove accidental log file and add has-copy class to chat bubbles
- Remove mistakenly committed openclaw-2026-04-03.log - Add 'has-copy' CSS class to chat bubbles when copy button is present, so the .chat-bubble.has-copy padding-right rule actually applies
This commit is contained in:
committed by
Peter Steinberger
parent
a55d45de3c
commit
c52d896ef0
@@ -752,7 +752,7 @@ function renderGroupedMessage(
|
||||
// Detect pure-JSON messages and render as collapsible block
|
||||
const jsonResult = markdown && !opts.isStreaming ? detectJson(markdown) : null;
|
||||
|
||||
const bubbleClasses = ["chat-bubble", opts.isStreaming ? "streaming" : "", "fade-in"]
|
||||
const bubbleClasses = ["chat-bubble", opts.isStreaming ? "streaming" : "", "fade-in", canCopyMarkdown ? "has-copy" : ""]
|
||||
.filter(Boolean)
|
||||
.join(" ");
|
||||
|
||||
|
||||
Reference in New Issue
Block a user