1
0
mirror of https://github.com/coalaura/whiskr.git synced 2025-09-08 00:29:54 +00:00

small fix

This commit is contained in:
Laura
2025-08-31 00:31:43 +02:00
parent 703d5373f0
commit 07ca59cfb1
2 changed files with 5 additions and 1 deletions

View File

@@ -383,6 +383,10 @@ body:not(.loading) #loading {
background: #1b1d2a;
}
.tool .result pre.l-json .pre-header {
display: none;
}
.message .tool .result,
.message .reasoning-text {
background: #1e2030;

View File

@@ -41,7 +41,7 @@
code(code) {
const header = `<div class="pre-header">${escapeHtml(code.lang)}<button class="pre-copy" title="Copy code contents"></button></div>`;
return `<pre>${header}<code>${code.text}</code></pre>`;
return `<pre class="l-${escapeHtml(code.lang)}">${header}<code>${code.text}</code></pre>`;
},
link(link) {