Compare commits

..

No commits in common. "db1bbfa1d4e83c8a9cdf094b6673ca2ab91d26f8" and "3bc8b7850713a53622724e07899fd491955ea6ae" have entirely different histories.

2 changed files with 2 additions and 14 deletions

View File

@ -46,18 +46,6 @@
transition: background 0.15s, opacity 0.15s; transition: background 0.15s, opacity 0.15s;
} }
.mentionAudioIcon {
display: inline-block;
margin-right: 3px;
font-size: 13px;
vertical-align: middle;
pointer-events: none;
}
.mentionAudioIcon::before {
content: '\266B'; /* ♫ rendered via CSS, not textContent — avoids polluting prompt text */
}
.mentionImg { .mentionImg {
width: 16px; width: 16px;
height: 16px; height: 16px;

View File

@ -88,8 +88,8 @@ export function PromptInput() {
const isAudio = opts.refType === 'audio' || opts.assetType === 'Audio'; const isAudio = opts.refType === 'audio' || opts.assetType === 'Audio';
if (isAudio) { if (isAudio) {
const icon = document.createElement('span'); const icon = document.createElement('span');
icon.className = styles.mentionAudioIcon; icon.textContent = '\u266B';
icon.setAttribute('aria-hidden', 'true'); icon.style.cssText = 'margin-right:3px;font-size:13px;vertical-align:middle;pointer-events:none';
span.appendChild(icon); span.appendChild(icon);
} else if (opts.thumbUrl) { } else if (opts.thumbUrl) {
const img = document.createElement('img'); const img = document.createElement('img');