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:
jjjojoj
2026-04-06 10:19:40 +08:00
committed by Peter Steinberger
parent a55d45de3c
commit c52d896ef0
2 changed files with 1 additions and 20 deletions

View File

@@ -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(" ");