Spaces:
Running
Running
updated banner
Browse files
app/src/content/embeds/banner.html
CHANGED
|
@@ -273,10 +273,10 @@
|
|
| 273 |
tipInner.innerHTML =
|
| 274 |
`<div style="display:flex; gap:10px; align-items:flex-start;">` +
|
| 275 |
`<img src="${imgSrc}" alt="thumb ${d.original_id}" style="width:120px;height:120px;object-fit:cover;flex:0 0 auto;border-radius:6px;border:1px solid var(--border-color);" />` +
|
| 276 |
-
`<div style="min-width:140px;">` +
|
| 277 |
`<div><strong>${d.category || 'Unknown'}</strong></div>` +
|
| 278 |
-
`<div><strong>Q:</strong> ${userText}</div>` +
|
| 279 |
-
`<div><strong>A:</strong> ${assistantText}</div>` +
|
| 280 |
`<div><strong>Subset</strong> ${d.subset ?? '—'}</div>` +
|
| 281 |
`</div>` +
|
| 282 |
`</div>`;
|
|
|
|
| 273 |
tipInner.innerHTML =
|
| 274 |
`<div style="display:flex; gap:10px; align-items:flex-start;">` +
|
| 275 |
`<img src="${imgSrc}" alt="thumb ${d.original_id}" style="width:120px;height:120px;object-fit:cover;flex:0 0 auto;border-radius:6px;border:1px solid var(--border-color);" />` +
|
| 276 |
+
`<div style="min-width:140px; max-width:200px;">` +
|
| 277 |
`<div><strong>${d.category || 'Unknown'}</strong></div>` +
|
| 278 |
+
`<div style="word-wrap:break-word; line-height:1.3; margin:4px 0;"><strong>Q:</strong> ${userText}</div>` +
|
| 279 |
+
`<div style="word-wrap:break-word; line-height:1.3; margin:4px 0;"><strong>A:</strong> ${assistantText}</div>` +
|
| 280 |
`<div><strong>Subset</strong> ${d.subset ?? '—'}</div>` +
|
| 281 |
`</div>` +
|
| 282 |
`</div>`;
|