Compare commits
No commits in common. "db1bbfa1d4e83c8a9cdf094b6673ca2ab91d26f8" and "3bc8b7850713a53622724e07899fd491955ea6ae" have entirely different histories.
db1bbfa1d4
...
3bc8b78507
@ -46,18 +46,6 @@
|
||||
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 {
|
||||
width: 16px;
|
||||
height: 16px;
|
||||
|
||||
@ -88,8 +88,8 @@ export function PromptInput() {
|
||||
const isAudio = opts.refType === 'audio' || opts.assetType === 'Audio';
|
||||
if (isAudio) {
|
||||
const icon = document.createElement('span');
|
||||
icon.className = styles.mentionAudioIcon;
|
||||
icon.setAttribute('aria-hidden', 'true');
|
||||
icon.textContent = '\u266B';
|
||||
icon.style.cssText = 'margin-right:3px;font-size:13px;vertical-align:middle;pointer-events:none';
|
||||
span.appendChild(icon);
|
||||
} else if (opts.thumbUrl) {
|
||||
const img = document.createElement('img');
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user