mirror of
https://github.com/coalaura/whiskr.git
synced 2025-09-08 00:29:54 +00:00
small fix
This commit is contained in:
@@ -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;
|
||||
|
@@ -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) {
|
||||
|
Reference in New Issue
Block a user