diff --git a/agent/chat_ui.html b/agent/chat_ui.html
index 5dd4d3dee..850a002e8 100644
--- a/agent/chat_ui.html
+++ b/agent/chat_ui.html
@@ -319,8 +319,9 @@
position: absolute;
top: 8px;
right: 8px;
- width: 26px;
+ min-width: 26px;
height: 26px;
+ padding: 0 6px;
border-radius: 6px;
border: 1px solid var(--border2);
background: var(--surface);
@@ -329,6 +330,7 @@
display: flex;
align-items: center;
justify-content: center;
+ gap: 4px;
font-size: 12px;
opacity: 0;
transition:
@@ -347,6 +349,9 @@
border-color: var(--green);
opacity: 1;
}
+ .copy-btn .copy-label {
+ font-size: 11px;
+ }
/* ── Message footer (badges, confidence, timestamp) ── */
.msg-footer {
@@ -5858,7 +5863,7 @@
function agentBubbleButtons(savedId) {
const isStarred = favorites.some(f => f.id === savedId);
- return ``;
+ return ``;
}
function copyBubble(btn) {
@@ -5869,10 +5874,10 @@
const text = clone.innerText.trim();
navigator.clipboard.writeText(text).then(() => {
btn.classList.add('copied');
- btn.textContent = '✓';
+ btn.innerHTML = '✓Copied!';
setTimeout(() => {
btn.classList.remove('copied');
- btn.textContent = '⎘';
+ btn.innerHTML = '⎘Copy';
}, 1800);
});
}