This commit is contained in:
team 1
2026-05-07 16:42:01 +02:00
parent 734134c209
commit 9520807e65
2 changed files with 25 additions and 7 deletions

View File

@@ -264,13 +264,6 @@ document.addEventListener('DOMContentLoaded', () => {
const msg = document.createElement('div');
msg.className = 'message ' + role;
if (role === "user") {
const svg = '<svg xmlns="http://www.w3.org/2000/svg" width="16" height="16" fill="currentColor" class="bi bi-chat-right-fill" viewBox="0 0 16 16">\n' +
' <path d="M14 0a2 2 0 0 1 2 2v12.793a.5.5 0 0 1-.854.353l-2.853-2.853a1 1 0 0 0-.707-.293H2a2 2 0 0 1-2-2V2a2 2 0 0 1 2-2z"/>\n' +
'</svg>';
html = svg + ' ' + html;
}
const bubble = document.createElement('div');
bubble.className = 'bubble ' + extra;
bubble.innerHTML = html;